shithub: scc

Download patch

ref: 57a4ce1ffd76c45dcf107415a5ee4ea33ed54c66
parent: e2fea8937a5f182b9e472c1e4e969efedeee8eea
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun Sep 2 17:15:13 EDT 2018

[tests/scc] Fix scc-tests.lst

--- a/tests/scc/execute/0172-hexa.c
+++ b/tests/scc/execute/0172-hexa.c
@@ -1,10 +1,13 @@
 int
 main(void)
 {
-        return 0xa == 0xA &&
-               0xb == 0xB &&
-               0xc == 0xC &&
-               0xd == 0xD &&
-               0xe == 0xE &&
-               0xf == 0xF;
+	if (0xa != 0xA ||
+	    0xb != 0xB ||
+	    0xc != 0xC ||
+	    0xd != 0xD ||
+	    0xe != 0xE ||
+	    0xf != 0xF) {
+		return 1;
+	}
+	return 0;
 }
--- a/tests/scc/execute/scc-tests.lst
+++ b/tests/scc/execute/scc-tests.lst
@@ -162,7 +162,7 @@
 0169-string.c [TODO]
 0170-line.c [TODO]
 0171-macros.c [TODO]
-0172-hexa.c [TODO]
+0172-hexa.c
 0173-macro.c
 0174-decay.c [TODO]
 0175-defined.c