From a9c90fc78f6acad4b9f3460d9475b9907036fa94 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 24 Mar 2012 05:33:42 +0000 Subject: [PATCH] sim: cris: update testsuite output after strsignal change --- sim/testsuite/sim/cris/ChangeLog | 9 +++++++++ sim/testsuite/sim/cris/c/clone5.c | 2 +- sim/testsuite/sim/cris/c/fcntl1.c | 2 +- sim/testsuite/sim/cris/c/kill2.c | 2 +- sim/testsuite/sim/cris/c/kill3.c | 2 +- sim/testsuite/sim/cris/c/mprotect1.c | 2 +- sim/testsuite/sim/cris/c/pipe5.c | 2 +- sim/testsuite/sim/cris/c/readlink5.c | 2 +- sim/testsuite/sim/cris/c/rtsigprocmask1.c | 2 +- sim/testsuite/sim/cris/c/rtsigsuspend1.c | 2 +- sim/testsuite/sim/cris/c/sig10.c | 2 +- sim/testsuite/sim/cris/c/sig11.c | 2 +- sim/testsuite/sim/cris/c/sig3.c | 2 +- sim/testsuite/sim/cris/c/sig4.c | 2 +- sim/testsuite/sim/cris/c/sig5.c | 2 +- sim/testsuite/sim/cris/c/sig6.c | 2 +- sim/testsuite/sim/cris/c/sig7.c | 2 +- sim/testsuite/sim/cris/c/sig8.c | 2 +- sim/testsuite/sim/cris/c/sigreturn1.c | 2 +- sim/testsuite/sim/cris/c/sigreturn2.c | 2 +- sim/testsuite/sim/cris/c/syscall1.c | 2 +- sim/testsuite/sim/cris/c/syscall2.c | 2 +- sim/testsuite/sim/cris/c/syscall3.c | 2 +- sim/testsuite/sim/cris/c/syscall4.c | 2 +- sim/testsuite/sim/cris/c/sysctl2.c | 2 +- 25 files changed, 33 insertions(+), 24 deletions(-) diff --git a/sim/testsuite/sim/cris/ChangeLog b/sim/testsuite/sim/cris/ChangeLog index f206a4055f2..4ea54eb7ba3 100644 --- a/sim/testsuite/sim/cris/ChangeLog +++ b/sim/testsuite/sim/cris/ChangeLog @@ -1,3 +1,12 @@ +2012-03-24 Mike Frysinger + + * c/clone5.c: Update output to ignore decoded signal string. + * c/fcntl1.c, c/kill2.c, c/kill3.c, c/mprotect1.c, c/pipe5.c, + c/readlink5.c, c/rtsigprocmask1.c, c/rtsigsuspend1.c, c/sig10.c, + c/sig11.c, c/sig3.c, c/sig4.c, c/sig5.c, c/sig6.c, c/sig7.c, + c/sig8.c, c/sigreturn1.c, c/sigreturn2.c, c/syscall1.c, + c/syscall2.c, c/syscall3.c, c/syscall4.c, c/sysctl2.c: Likewise. + 2012-03-21 Mike Frysinger * asm/addqpc.ms: Update output to ignore decoded signal string. diff --git a/sim/testsuite/sim/cris/c/clone5.c b/sim/testsuite/sim/cris/c/clone5.c index 3444b56ebd4..9380a1ea5aa 100644 --- a/sim/testsuite/sim/cris/c/clone5.c +++ b/sim/testsuite/sim/cris/c/clone5.c @@ -2,7 +2,7 @@ #notarget: cris*-*-elf #xerror: #output: Unimplemented clone syscall * -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/fcntl1.c b/sim/testsuite/sim/cris/c/fcntl1.c index 184fd645217..032f6b50198 100644 --- a/sim/testsuite/sim/cris/c/fcntl1.c +++ b/sim/testsuite/sim/cris/c/fcntl1.c @@ -2,7 +2,7 @@ #notarget: cris*-*-elf #xerror: #output: Unimplemented fcntl* -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include #include diff --git a/sim/testsuite/sim/cris/c/kill2.c b/sim/testsuite/sim/cris/c/kill2.c index 183091cf664..6b064e782a9 100644 --- a/sim/testsuite/sim/cris/c/kill2.c +++ b/sim/testsuite/sim/cris/c/kill2.c @@ -1,6 +1,6 @@ /* Basic kill functionality test; suicide. #xerror: -#output: program stopped with signal 6.\n +#output: program stopped with signal 6 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/kill3.c b/sim/testsuite/sim/cris/c/kill3.c index b70f3d324dc..c0e2179901e 100644 --- a/sim/testsuite/sim/cris/c/kill3.c +++ b/sim/testsuite/sim/cris/c/kill3.c @@ -1,6 +1,6 @@ /* Basic kill functionality test; suicide. #xerror: -#output: program stopped with signal 6.\n +#output: program stopped with signal 6 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/mprotect1.c b/sim/testsuite/sim/cris/c/mprotect1.c index 01d9519da3c..8dae50ba6eb 100644 --- a/sim/testsuite/sim/cris/c/mprotect1.c +++ b/sim/testsuite/sim/cris/c/mprotect1.c @@ -2,7 +2,7 @@ #notarget: cris*-*-elf #xerror: #output: Unimplemented mprotect call (0x0, 0x2001, 0x4)\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include #include diff --git a/sim/testsuite/sim/cris/c/pipe5.c b/sim/testsuite/sim/cris/c/pipe5.c index abf1c9fcd99..2b4d763353d 100644 --- a/sim/testsuite/sim/cris/c/pipe5.c +++ b/sim/testsuite/sim/cris/c/pipe5.c @@ -2,7 +2,7 @@ #notarget: cris*-*-elf #xerror: #output: Terminating simulation due to writing pipe * from one single thread\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include #include diff --git a/sim/testsuite/sim/cris/c/readlink5.c b/sim/testsuite/sim/cris/c/readlink5.c index 11de3487111..80f20dadd88 100644 --- a/sim/testsuite/sim/cris/c/readlink5.c +++ b/sim/testsuite/sim/cris/c/readlink5.c @@ -3,6 +3,6 @@ #dest: ./readlink5.c.x #xerror: #output: Unimplemented readlink syscall (*)\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include "readlink2.c" diff --git a/sim/testsuite/sim/cris/c/rtsigprocmask1.c b/sim/testsuite/sim/cris/c/rtsigprocmask1.c index 7cc7c5c5e5c..b76c33853a8 100644 --- a/sim/testsuite/sim/cris/c/rtsigprocmask1.c +++ b/sim/testsuite/sim/cris/c/rtsigprocmask1.c @@ -3,7 +3,7 @@ #cc: additional_flags=-pthread #xerror: #output: Unimplemented rt_sigprocmask syscall (0x3, 0x0, 0x3dff*\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n Testing a signal handler corner case. */ diff --git a/sim/testsuite/sim/cris/c/rtsigsuspend1.c b/sim/testsuite/sim/cris/c/rtsigsuspend1.c index 0e00cc17b1e..66ca7954503 100644 --- a/sim/testsuite/sim/cris/c/rtsigsuspend1.c +++ b/sim/testsuite/sim/cris/c/rtsigsuspend1.c @@ -2,7 +2,7 @@ #notarget: cris*-*-elf #xerror: #output: Unimplemented rt_sigsuspend syscall arguments (0x1, 0x2)\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/sig10.c b/sim/testsuite/sim/cris/c/sig10.c index d9263081c61..ef548327ebf 100644 --- a/sim/testsuite/sim/cris/c/sig10.c +++ b/sim/testsuite/sim/cris/c/sig10.c @@ -3,7 +3,7 @@ #cc: additional_flags=-pthread #xerror: #output: Exiting pid 42 due to signal 9\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/sig11.c b/sim/testsuite/sim/cris/c/sig11.c index 1661f9b409d..9c8aad7d88e 100644 --- a/sim/testsuite/sim/cris/c/sig11.c +++ b/sim/testsuite/sim/cris/c/sig11.c @@ -3,7 +3,7 @@ #cc: additional_flags=-pthread #xerror: #output: Unimplemented signal: 77\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/sig3.c b/sim/testsuite/sim/cris/c/sig3.c index f6137290929..91de227fd30 100644 --- a/sim/testsuite/sim/cris/c/sig3.c +++ b/sim/testsuite/sim/cris/c/sig3.c @@ -1,6 +1,6 @@ /* Check that TRT happens at an abort (3) call, single thread. #xerror: -#output: program stopped with signal 6.\n +#output: program stopped with signal 6 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/sig4.c b/sim/testsuite/sim/cris/c/sig4.c index 6d7ec0e5cb4..57491f80a3c 100644 --- a/sim/testsuite/sim/cris/c/sig4.c +++ b/sim/testsuite/sim/cris/c/sig4.c @@ -3,7 +3,7 @@ #cc: additional_flags=-pthread #xerror: #output: Exiting pid 42 due to signal 6\n -#output: program stopped with signal 6.\n +#output: program stopped with signal 6 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/sig5.c b/sim/testsuite/sim/cris/c/sig5.c index 674621e1722..2748aa52b53 100644 --- a/sim/testsuite/sim/cris/c/sig5.c +++ b/sim/testsuite/sim/cris/c/sig5.c @@ -1,7 +1,7 @@ /* Check that TRT happens for an uncaught non-abort signal, single thread. #xerror: #output: Unimplemented signal: 7\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/sig6.c b/sim/testsuite/sim/cris/c/sig6.c index 3862cf2ee49..a1f572026a7 100644 --- a/sim/testsuite/sim/cris/c/sig6.c +++ b/sim/testsuite/sim/cris/c/sig6.c @@ -3,7 +3,7 @@ #cc: additional_flags=-pthread #xerror: #output: Exiting pid 42 due to signal 7\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/sig7.c b/sim/testsuite/sim/cris/c/sig7.c index 0991ff0968a..b04f7c8ba4e 100644 --- a/sim/testsuite/sim/cris/c/sig7.c +++ b/sim/testsuite/sim/cris/c/sig7.c @@ -2,7 +2,7 @@ #notarget: cris*-*-elf #xerror: #output: Unimplemented rt_sigaction syscall (0x8, 0x3df*\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include #include diff --git a/sim/testsuite/sim/cris/c/sig8.c b/sim/testsuite/sim/cris/c/sig8.c index 8a52b217666..889892f7f36 100644 --- a/sim/testsuite/sim/cris/c/sig8.c +++ b/sim/testsuite/sim/cris/c/sig8.c @@ -1,7 +1,7 @@ /* Check that TRT happens for an ignored catchable signal, single thread. #xerror: #output: Unimplemented signal: 14\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n Sure, it'd probably be better to support signals in single-thread too, but that's on an as-need basis, and I don't have a need for it yet. */ diff --git a/sim/testsuite/sim/cris/c/sigreturn1.c b/sim/testsuite/sim/cris/c/sigreturn1.c index 09989f5ee0c..40fc852f36c 100644 --- a/sim/testsuite/sim/cris/c/sigreturn1.c +++ b/sim/testsuite/sim/cris/c/sigreturn1.c @@ -2,7 +2,7 @@ #notarget: cris*-*-elf #xerror: #output: Invalid sigreturn syscall: no signal handler active (0x1, 0x2, 0x3, 0x4, 0x5, 0x6)\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/sigreturn2.c b/sim/testsuite/sim/cris/c/sigreturn2.c index d0305cb5073..3848b5fc798 100644 --- a/sim/testsuite/sim/cris/c/sigreturn2.c +++ b/sim/testsuite/sim/cris/c/sigreturn2.c @@ -3,7 +3,7 @@ #cc: additional_flags=-pthread #xerror: #output: Invalid sigreturn syscall: no signal handler active (0x1, 0x2, 0x3, 0x4, 0x5, 0x6)\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/syscall1.c b/sim/testsuite/sim/cris/c/syscall1.c index 150f297c3f4..84aacb6e092 100644 --- a/sim/testsuite/sim/cris/c/syscall1.c +++ b/sim/testsuite/sim/cris/c/syscall1.c @@ -2,7 +2,7 @@ #notarget: cris*-*-elf #xerror: #output: Unimplemented syscall: 166 (0x1, 0x2, 0x3, 0x4, 0x5, 0x6)\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/syscall2.c b/sim/testsuite/sim/cris/c/syscall2.c index 43462ec22d0..b4dbead0b13 100644 --- a/sim/testsuite/sim/cris/c/syscall2.c +++ b/sim/testsuite/sim/cris/c/syscall2.c @@ -2,7 +2,7 @@ #notarget: cris*-*-elf #xerror: #output: Unimplemented syscall: 0 (0x3, 0x2, 0x1, 0x4, 0x6, 0x5)\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include diff --git a/sim/testsuite/sim/cris/c/syscall3.c b/sim/testsuite/sim/cris/c/syscall3.c index 9ba96359ef0..f4d02eb6cd3 100644 --- a/sim/testsuite/sim/cris/c/syscall3.c +++ b/sim/testsuite/sim/cris/c/syscall3.c @@ -3,7 +3,7 @@ #sim: --cris-unknown-syscall=stop #xerror: #output: Unimplemented syscall: 166 (0x1, 0x2, 0x3, 0x4, 0x5, 0x6)\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include "syscall1.c" diff --git a/sim/testsuite/sim/cris/c/syscall4.c b/sim/testsuite/sim/cris/c/syscall4.c index 757099fcf90..ba01cfdeb30 100644 --- a/sim/testsuite/sim/cris/c/syscall4.c +++ b/sim/testsuite/sim/cris/c/syscall4.c @@ -3,7 +3,7 @@ #sim: --cris-unknown-syscall=stop #xerror: #output: Unimplemented syscall: 0 (0x3, 0x2, 0x1, 0x4, 0x6, 0x5)\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n */ #include "syscall2.c" diff --git a/sim/testsuite/sim/cris/c/sysctl2.c b/sim/testsuite/sim/cris/c/sysctl2.c index b6752a8bc87..f27c37c9005 100644 --- a/sim/testsuite/sim/cris/c/sysctl2.c +++ b/sim/testsuite/sim/cris/c/sysctl2.c @@ -1,7 +1,7 @@ /* Check error message for invalid sysctl call. #xerror: #output: Unimplemented _sysctl syscall *\n -#output: program stopped with signal 4.\n +#output: program stopped with signal 4 (*).\n #notarget: cris*-*-elf */ -- 2.30.2