Adding a new test to acme_developer or integration
- Edit <ACME>/scripts/acme/update_acme_tests
- You'll see a python dict at the top of the file called TEST_SUITES, find the test category you want to change in this dict and add your testcase to the list
- cd <ACME>/scripts/ccsm_utils/Testlistxml
- update_acme_tests <category> ./testlist.xml
Adding a testcase to a non-acme category
- cd <ACME>/scripts/ccsm_utils/Testlistxml
manage_xml_entries -query -outputlist -machine <machine> -compiler <compiler> -category <category> > SOME_FILE
- edit SOME_FILE
- add a line for you new test anywhere in the file, save
manage_xml_entries -addlist -file SOME_FILE -category <category>
- The above command will produce a new file: "testlist-<date>-<time>.xml"
- Replace testlist.xml with the above file
- If a test is being run on a machine for the first time, you'll need to generate a baseline for it
- ./create_test -testname <new-test-case>.<machine>_<compiler> -testroot <any-path> -project <batch-project> -generate <some-name-for-your-baselines>
Related articles