forked from pool/shunit2
b8b880c03a
- Update to version 2.1.7: * Colorized output * shUnit2 no longer exits with an 'OK' result if there were syntax errors * changed license to Apache 2.0 - Update to version 2.1.8: * Users can now define a custom prefix for test function names (SHUNIT_TEST_PREFIX) * Syntax errors in functions are now treated as test failures * Test now fail when setup() or tearDown() fail * Add assertContains, assertNotContains, failFound and failNotFound functions - delete patches shunit2-examples.diff and shunit2-gen_test_results.sh.diff, not needed - delete source file lgpl-2.1.txt - do not install test scripts - enable package testing with script test_runner - provide compat symlink from /usr/share/shunit2/shunit2 to /usr/share/shunit2/src/shunit2 - source /usr/bin/shunit2 in examples, so no additional path settings are needed to use it OBS-URL: https://build.opensuse.org/package/show/devel:tools/shunit2?expand=0&rev=9
12 lines
266 B
Diff
12 lines
266 B
Diff
--- bin/gen_test_results.sh.bak 2012-02-02 09:50:10.000000000 +0100
|
|
+++ bin/gen_test_results.sh 2012-02-02 09:50:21.000000000 +0100
|
|
@@ -20,7 +20,7 @@
|
|
exit 1
|
|
}
|
|
|
|
-BASE_DIR="`dirname $0`/.."
|
|
+BASE_DIR="@SHUNIT_HOME@"
|
|
LIB_DIR="${BASE_DIR}/lib"
|
|
|
|
# load libraries
|