Community
Participate
Working Groups
To prevent bugs like 296749 we need a set of tests in the xdctest tree that exercise _every_ "throw xdc.$$XDCException" line in every *.xs file in the xdccore tree.
The tree xdctest-a24 contains multiple tests under ecl/ecl296953*. These tests are exercising XDCExceptions from xdc core packages.
Moved to fix verify to XDCtools 3.22.02
Verification: XDC product: xdctools_3_23_00_29_eng XDC testtree: xdctest-b06 Found 19 Occurences of "throw xdc.$$XDCException" were found in 3 .xs files (BuildEnvironment.xs, PackageContents.xs, Main.xs). The following table shows the test cases for each error type. ERROR TYPE (# of occurences) - TEST CASES BuildEnvironment.xs (6) xdc.bld.DUPLICATE_TARGET_ERROR - ecl296953b/duplicateTarget/ xdc.bld.TARGET_CONFIG_ERROR - ecl296953b/undefinedTarget/ xdc.bld.ROOTDIR_NOT_SET - ecl296953b/noRootDir/ xdc.bld.PARAMETER_MISMATCH - Not tested xdc.bld.PACKAGE_NOT_BUILT - ecl296953b/invalidReleaseDesc/ xdc.bld.INVALID_PACKAGE - ecl296953b/invalidReleaseDesc2/ PackageContents.xs (11) xdc.bld.LIBRARY_EXISTS - ecl296953b/testpkg2/ xdc.bld.EXECUTABLE_EXISTS - ecl296953b/testpkg3/ xdc.bld.INVALID_RELEASE_NAME - ecl296953b/invalidReleaseName/ xdc.bld.INVALID_RELEASE_PREFIX - ecl296953b/testpkg4/ xdc.bld.RELEASE_EXISTS - ecl296953b/testpkg5/ xdc.bld.REPOSITORY_EXISTS - ecl296953b/repositoryExists/ xdc.bld.SCRIPT_EXISTS - ecl296953b/scriptExists/ xdc.bld.INCORRECT_PACKAGE_NAME - ecl296953b/wrongPackageName/ xdc.bld.CREATE_DIR_ERROR (3) - ecl296953b/cfgDirFail/ ecl296953b/libDirFail/ ecl296953b/relDirFail/ Main.xs (2) xdc.cfg.CONFIG_ERROR (2) - ecl296953b/ RESULT: All "xdc.$$XDCException"s have been verified to have test cases except xdc.bld.PARAMETER_MISMATCH
shipped in XDCtools 3.23 (http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_23_00_32)