summaryrefslogtreecommitdiffstats
path: root/development/opendbx/odbxtest_exit_1_on_error.diff
diff options
context:
space:
mode:
Diffstat (limited to 'development/opendbx/odbxtest_exit_1_on_error.diff')
-rw-r--r--development/opendbx/odbxtest_exit_1_on_error.diff34
1 files changed, 0 insertions, 34 deletions
diff --git a/development/opendbx/odbxtest_exit_1_on_error.diff b/development/opendbx/odbxtest_exit_1_on_error.diff
deleted file mode 100644
index 33881b4333..0000000000
--- a/development/opendbx/odbxtest_exit_1_on_error.diff
+++ /dev/null
@@ -1,34 +0,0 @@
-This way if the test fails, the build will fail.
-Need to send upstream.
-Index: libopendbx-1.4.6/test/odbxtest.sh
-===================================================================
---- libopendbx-1.4.6.orig/test/odbxtest.sh 2012-05-06 08:10:59.000000000 -0400
-+++ libopendbx-1.4.6/test/odbxtest.sh 2012-11-19 12:21:05.468414873 -0500
-@@ -7,6 +7,7 @@
- if ! test -f odbxtest.site
- then
- echo "No odbxtest.site file found"
-+ exit 1
- fi
-
- ODBXAPP="./odbxtest ./odbxplustest"
-@@ -28,6 +29,7 @@
- echo "$1 ERRORS:" >> testresult.err
- cat test.err >> testresult.err
- diff -b test.out ref/$1.ref >> testresult.err
-+ FAILURE="FAILED"
- else
- echo " $1 OK"
- echo " $1 OK" >> testresult.log
-@@ -154,5 +156,9 @@
- rm -f test.out
- rm -f test.err
-
--
--exit 0
-+if [ -n "$FAILURE" ]
-+then
-+ exit 1
-+else
-+ exit 0
-+fi