[hackers] [scc] Fix tests after commit a564aad || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 25 Jan 2016 12:46:05 +0100 (CET)

commit 0df4f021feb170f1dbd7ec5946234f6a6334b167
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Mon Jan 25 12:27:25 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Mon Jan 25 12:27:25 2016 +0100

    Fix tests after commit a564aad
    
    This commit introduced type in size of arrays, but
    tests were not updated after it.

diff --git a/cc1/tests/test001.c b/cc1/tests/test001.c
index 2f67704..d3748fa 100644
--- a/cc1/tests/test001.c
+++ b/cc1/tests/test001.c
_AT_@ -6,7 +6,7 @@ output:
 G6 F "main
 {
 \
-V8 K #13
+V8 K #N13
 Y7 V8 "
 (
         #"hello world
diff --git a/cc1/tests/test018.c b/cc1/tests/test018.c
index 5af58fd..1e7a30b 100644
--- a/cc1/tests/test018.c
+++ b/cc1/tests/test018.c
_AT_@ -6,12 +6,12 @@ output:
 G2 F "main
 {
 \
-V3 K #4
-V4 V3 #2
+V3 K #N4
+V4 V3 #N2
 A5 V4 "arr
 A7 P "p
 A9 P "q
-V10 I #4
+V10 I #N4
 A11 V10 "v
         A7 A5 'P :P
         A9 A5 'P #P4 +P #P3 +P :P
diff --git a/cc1/tests/test026.c b/cc1/tests/test026.c
index d750891..c759fb9 100644
--- a/cc1/tests/test026.c
+++ b/cc1/tests/test026.c
_AT_@ -9,7 +9,7 @@ G3 F "main
 \
 A4 I "y
 A6 P "p
-V8 K #10
+V8 K #N10
 Y7 V8 "
 (
         #"test026.c
diff --git a/cc1/tests/test027.c b/cc1/tests/test027.c
index 2ffee6e..0c9b6b1 100644
--- a/cc1/tests/test027.c
+++ b/cc1/tests/test027.c
_AT_@ -8,7 +8,7 @@ G3 F "main
 {
 \
 A5 P "p
-V7 K #25
+V7 K #N25
 Y6 V7 "
 (
         #"hello is better than bye
diff --git a/cc1/tests/test028.c b/cc1/tests/test028.c
index e91398f..8e3e98b 100644
--- a/cc1/tests/test028.c
+++ b/cc1/tests/test028.c
_AT_@ -7,7 +7,7 @@ output:
 G6 F "foo
 {
 \
-V8 K #3
+V8 K #N3
 Y10 V8 "
 (
         #"hi
diff --git a/cc1/tests/test032.c b/cc1/tests/test032.c
index 1f33c5a..31493af 100644
--- a/cc1/tests/test032.c
+++ b/cc1/tests/test032.c
_AT_@ -7,7 +7,7 @@ output:
 G5 F "main
 {
 \
-V9 K #44
+V9 K #N44
 Y8 V9 "
 (
         #"This is a string $ or # or ##and it is ok !
diff --git a/cc1/tests/test046.c b/cc1/tests/test046.c
index 747e526..dc9340b 100644
--- a/cc1/tests/test046.c
+++ b/cc1/tests/test046.c
_AT_@ -3,7 +3,7 @@ name: TEST046
 description: Basic test for initializators
 error:
 output:
-V1 I #3
+V1 I #N3
 G2 V1 "x
 (
         #I1
diff --git a/cc1/tests/test048.c b/cc1/tests/test048.c
index f1703a8..232495d 100644
--- a/cc1/tests/test048.c
+++ b/cc1/tests/test048.c
_AT_@ -6,7 +6,7 @@ output:
 S2 S
 M3 I "a
 M4 I "b
-V5 S2 #1
+V5 S2 #N1
 G6 V5 "x
 (
         #I1
diff --git a/cc1/tests/test051.c b/cc1/tests/test051.c
index 0661963..2e2aab2 100644
--- a/cc1/tests/test051.c
+++ b/cc1/tests/test051.c
_AT_@ -3,7 +3,7 @@ name: TEST051
 description: Basic test for initializer
 error:
 output:
-V1 I #3
+V1 I #N3
 G2 V1 "arr
 (
         #I0
diff --git a/cc1/tests/test052.c b/cc1/tests/test052.c
index 0592b87..7670f4d 100644
--- a/cc1/tests/test052.c
+++ b/cc1/tests/test052.c
_AT_@ -6,7 +6,7 @@ output:
 S2 S
 M3 I "a
 M4 I "b
-V5 S2 #2
+V5 S2 #N2
 G6 V5 "arr
 (
         #I1
diff --git a/cc1/tests/test056.c b/cc1/tests/test056.c
index 7f84040..ee3f9cc 100644
--- a/cc1/tests/test056.c
+++ b/cc1/tests/test056.c
_AT_@ -3,7 +3,7 @@ name: TEST056
 desciption: Test of overlaying designators
 error:
 output:
-V6 K #3
+V6 K #N3
 S2 S
 M3 I "a
 M4 I "b
_AT_@ -20,7 +20,7 @@ G9 S2 "s
         #K0
         #I0
 )
-V10 K #0
+V10 K #N0
 G11 V10 "m
 (
 )
diff --git a/cc1/tests/test057.c b/cc1/tests/test057.c
index 08dfe83..9fe72c3 100644
--- a/cc1/tests/test057.c
+++ b/cc1/tests/test057.c
_AT_@ -4,8 +4,8 @@ name: TEST057
 description: test of initialization of incomplete arrays
 error:
 output:
-V1 I #3
-V2 V1 #2
+V1 I #N3
+V2 V1 #N2
 G3 V2 "arr1
 (
         #I2
diff --git a/cc1/tests/test058.c b/cc1/tests/test058.c
index f2442c7..870b897 100644
--- a/cc1/tests/test058.c
+++ b/cc1/tests/test058.c
_AT_@ -3,9 +3,9 @@ name: TEST058
 description: Test of initialization mixing designators and sequence
 error:
 output:
-V1 I #5
-V2 V1 #3
-V3 V2 #2
+V1 I #N5
+V2 V1 #N3
+V3 V2 #N2
 G4 V3 "arr
 (
         #I0
Received on Mon Jan 25 2016 - 12:46:05 CET

This archive was generated by hypermail 2.3.0 : Mon Jan 25 2016 - 12:48:25 CET