From kitzbergerova at gmail.com Thu Oct 1 10:45:26 2009 From: kitzbergerova at gmail.com (Kristyna Kitzbergerova) Date: Thu, 1 Oct 2009 19:45:26 +0200 Subject: [g11n-test-group] cti for tet code corrections Message-ID: <6105eda20910011045t6a51f072wa8238d02addc382b@mail.gmail.com> Hi all, I've just finished code corrections of following tests: logErrorCheck coreFiles linkCheck binaryCat xfiles For more info, see http://wikis.sun.com/display/g11n/SelfTestingContribution I also included new variable $TEST_DIR=${CTI_LOGDIR}/test_name to all mentioned tests ... All log files are then stored in this directory for each test as far cti-tet is run with -U directory_name parameter. Regards, Kristyna ---------- Forwarded message ---------- From: Slavomir Cihak Date: Mon, Aug 24, 2009 at 4:21 PM Subject: [g11n-test-group] Test migration & storing results To: g11n-test-group at opensolaris.org TESTING RESULTS For gathering the results easier, the wrapper run_test offers -U switch followed by a directory path used for CTI output. Please use (and of course don't change) the variable $CTI_LOGDIR in your tests as the root directory for storing testing results. The "startup" routine of your TC (ksh example) can contain something like: TEST_LOGDIR=${CTI_LOGDIR}/ rm -rf ${TEST_LOGDIR} > /dev/null 2>&1 mkdir ${TEST_LOGDIR} > /dev/null 2>&1 if [[ $? != 0 ]] then cti_deleteall "Could not make $TEST_LOGDIR directory." return else cti_report "Test specific directory: $TEST_LOGDIR" fi If your script creates any file or directory, place it under $TEST_LOGDIR. All the testing related files are then stored under the main $CTI_LOGDIR directory and can be easily copied to any other location. The test will not run again (throws an error) until $CTI_LOGDIR exists - needs to be deleted first (the previous results will not be overwritten). Hope this is useful for you Regards Slavek Cihak _______________________________________________ g11n-test-group mailing list g11n-test-group at opensolaris.org http://mail.opensolaris.org/mailman/listinfo/g11n-test-group