File: 04-exit_on_failed_test.patch

package info (click to toggle)
pth 2.0.7-22
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 3,656 kB
  • sloc: sh: 9,722; ansic: 8,517; makefile: 1,462; perl: 112
file content (19 lines) | stat: -rw-r--r-- 570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Let build fail if test fails
Author: Jani Monoses
Last_Update: 2013-07-08

## Taken from launchpad.net (patch for 2.0.7-16ubuntu1)

Index: pth/Makefile.in
===================================================================
--- pth.orig/Makefile.in
+++ pth/Makefile.in
@@ -340,7 +340,7 @@ what-next:
 #   execute and debug one of the test programs
 test: test-std
 test-std: test_std
-	-@./test_std; \
+	@./test_std; \
 	if [ $$? -eq 0 ]; then \
 	    touch .done-test >/dev/null 2>&1 || $(TRUE); \
 	    if [ ".`grep $(PLATFORM) $(S)PORTING`" = . ]; then \