summarylogtreecommitdiffstats
path: root/disable-long-running-tests.patch
blob: e155a9b3b2f19aa550754c8102ca25dbb68af630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
diff --unified --recursive --text mit-scheme-12.1.orig/tests/check.scm mit-scheme-12.1/tests/check.scm
--- mit-scheme-12.1.orig/tests/check.scm	2023-11-22 21:59:59.030940383 +0100
+++ mit-scheme-12.1/tests/check.scm	2023-11-22 22:00:59.460589887 +0100
@@ -44,7 +44,7 @@
     "compiler/test-closure"
     ("compiler/test-fasdump" (compiler portable-fasdump))
     "compiler/test-fgopt-conect"
-    "compiler/test-fixnum"
+    ; "compiler/test-fixnum"
     "compiler/test-lsh"
     "compiler/test-open-code"
     "compiler/test-remquo"
@@ -83,11 +83,11 @@
     ("runtime/test-file-attributes" (runtime))
     "runtime/test-floenv"
     "runtime/test-flonum"
-    "runtime/test-flonum.bin"
+    ; "runtime/test-flonum.bin"
     "runtime/test-flonum.com"
     "runtime/test-generator"
-    "runtime/test-hash-table"
-    "runtime/test-ieee754"
+    ; "runtime/test-hash-table"
+    ; "runtime/test-ieee754"
     "runtime/test-integer-bits"
     "runtime/test-letrec"
     ("runtime/test-library-parser" (runtime library))
@@ -109,7 +109,7 @@
     "runtime/test-primitive-arithmetic"
     ("runtime/test-printer" (runtime printer))
     "runtime/test-process"
-    "runtime/test-promise"
+    ; "runtime/test-promise"
     "runtime/test-qsort"
     "runtime/test-random"
     "runtime/test-readwrite"
@@ -135,7 +135,7 @@
     "runtime/test-url"
     "runtime/test-weak-pair"
     ("runtime/test-wttree" (runtime wt-tree))
-    "ffi/test-ffi"
+    ; "ffi/test-ffi"
     "sos/test-genmult"
     ("libraries/test-srfi-133" inline)
     ("libraries/test-srfi-140" inline)
@@ -227,15 +227,18 @@
       (let ((passed (filter cdr results))
 	    (failed (remove cdr results)))
 	(if (or (pair? passed)
-		(pair? failed))
+	        (pair? failed))
 	    (begin
 	      (write-string "Test results:")
 	      (newline)
 	      (show-results passed "PASSED")
 	      (if (and (pair? passed)
-		       (pair? failed))
-		  (newline))
-	      (show-results failed "FAILED"))
+	               (pair? failed))
+	        (begin
+	           (newline)
+	           (show-results failed "FAILED")
+	           (exit 1))
+	         (exit 0)))
 	    (begin
 	      (write-string "No tests run")
-	      (newline)))))))
\ No newline at end of file
+	      (newline)))))))