Skip to content

Instantly share code, notes, and snippets.

@kentfredric
Created June 8, 2009 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kentfredric/125932 to your computer and use it in GitHub Desktop.
Save kentfredric/125932 to your computer and use it in GitHub Desktop.
>>> No ././test_pass_TEST_cleanup.sh to run
>>> No ././test_pass_TEST_setup.sh to run
>>> test ./test_pass_TEST
Test program ./test_pass_TEST:
* "test the test code: this should pass": ... OK (58ms)
(repeat): ... OK (0ms)
>>> No ././test_pass_TEST_cleanup.sh to run
>>> exiting with success for test ./test_pass_TEST
PASS: test_pass_TEST
>>> No ././test_fail_TEST_cleanup.sh to run
>>> No ././test_fail_TEST_setup.sh to run
>>> test ./test_fail_TEST
Test program ./test_fail_TEST:
* "test the test code: this should fail": .!{
test_fail_TEST.cc:43: in virtual void test_cases::FailTest::run(): Expected 'stringify("this comparison")' = 'this comparison' to equal 'stringify("should fail")' = 'should fail' (difference starts at offset 0, got 'should fai', expected 'this compa') (no further information)
} NOT OK
(repeat): .!{
test_fail_TEST.cc:43: in virtual void test_cases::FailTest::run(): Expected 'stringify("this comparison")' = 'this comparison' to equal 'stringify("should fail")' = 'should fail' (difference starts at offset 0, got 'should fai', expected 'this compa') (no further information)
} NOT OK
>>> test ./test_fail_TEST returned 1
>>> rerunning test ./test_fail_TEST verbosely redirected to /tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/test/test_fail_TEST.epicfail
>>> saved output of verbose ./test_fail_TEST rerun to /tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/test/test_fail_TEST.epicfail
>>> exiting with error for test ./test_fail_TEST
XFAIL: test_fail_TEST
====================================================
All 2 tests behaved as expected (1 expected failure)
====================================================
make[5]: Leaving directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/doc/overview'
make[4]: Leaving directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/doc/overview'
make[3]: Leaving directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/doc/overview'
make[2]: Leaving directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/doc'
Making check in hooks
make[2]: Entering directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/hooks'
Making check in .
make[3]: Entering directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/hooks'
chmod +x ./news.hook ./eselect_env_update.bash
make eselect_env_update_TEST news_TEST run_test.bash eselect_env_update_TEST_setup.sh eselect_env_update_TEST_cleanup.sh news_TEST_setup.sh news_TEST_cleanup.sh
make[4]: Entering directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/hooks'
make[4]: Nothing to be done for `eselect_env_update_TEST'.
make[4]: Nothing to be done for `news_TEST'.
make[4]: Nothing to be done for `run_test.bash'.
make[4]: Nothing to be done for `eselect_env_update_TEST_setup.sh'.
make[4]: Nothing to be done for `eselect_env_update_TEST_cleanup.sh'.
make[4]: Nothing to be done for `news_TEST_setup.sh'.
make[4]: Nothing to be done for `news_TEST_cleanup.sh'.
make[4]: Leaving directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/hooks'
make check-TESTS
make[4]: Entering directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/hooks'
>>> setup for test ./eselect_env_update_TEST
Test program ./eselect_env_update_TEST:
* eselect_env_update: .. OK
>>> cleanup for test ./eselect_env_update_TEST
PASS: eselect_env_update_TEST
>>> setup for test ./news_TEST
Test program ./news_TEST:
* news_none: .. OK
* news_one:
* No unread news items found
.!{retcode: 1} FAIL
>>> cleanup for test ./news_TEST
FAIL: news_TEST
===================
1 of 2 tests failed
===================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/hooks'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/hooks'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1/hooks'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/sys-apps-paludis-0.36.1/work/paludis-0.36.1'
make: *** [check] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment