]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
remove old broken testcase for s390
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 15 Oct 2013 19:10:11 +0000 (19:10 +0000)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 15 Oct 2013 19:10:11 +0000 (19:10 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13647

none/tests/s390x/Makefile.am
none/tests/s390x/test_clone.c [deleted file]
none/tests/s390x/test_clone.stderr.exp [deleted file]
none/tests/s390x/test_clone.stdout.exp [deleted file]
none/tests/s390x/test_clone.vgtest [deleted file]

index c820accb1eaf6c24cc4d2be31e217573df4344d7..82910ca59d8c9fdf0e867ece575b8c1cfad18764 100644 (file)
@@ -11,7 +11,7 @@ INSN_TESTS = clc clcle cvb cvd icm lpr tcxb lam_stam xc mvst add sub mul \
              ex_sig ex_clone cu14 cu14_1 cu41 fpconv ecag fpext fpext_warn \
              rounding-1 rounding-2 rounding-3 rounding-4 rounding-5 bfp-1 \
              bfp-2 bfp-3 bfp-4 srnm srnmb comp-1 comp-2 exrl tmll tm stmg \
-            ex clst mvc test_clone test_fork test_sig rounding-6 \
+            ex clst mvc test_fork test_sig rounding-6 \
             spechelper-alr spechelper-algr \
             spechelper-slr spechelper-slgr \
             spechelper-cr  spechelper-clr  \
diff --git a/none/tests/s390x/test_clone.c b/none/tests/s390x/test_clone.c
deleted file mode 100644 (file)
index 8b944c6..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-#define _GNU_SOURCE
-#include <sys/syscall.h>
-#include <linux/wait.h>
-#include <sched.h>
-#include "test.h"
-
-char stack[4096];
-
-void saynum(int num)
-{
-   char *nums="012345679";
-   say(nums+num,1);
-}
-
-void test_thread(void *arg)
-{
-   mysleep(0,50000);
-   SAY("thread_start");
-   mysleep(0,50000);
-   SAY("thread_end");
-   EXIT(1);
-}
-
-void test_child(void)
-{
-   mysleep(0,50000);
-   SAY("child_start");
-   mysleep(0,50000);
-   SAY("child_end");
-   EXIT(1);
-}
-
-
-void forkish(void)
-{
-   int pid;
-   int status;
-
-   asm volatile( "lghi 2, 0\n"
-                 "lgr  3, 0\n"
-                 "svc  120\n"      // CLONE
-                 "lr   %0, 2\n"
-                 :"=d" (pid)
-                 :: "2", "3", "cc");
-   if (!pid)
-      test_child();
-   SAY("MAIN_proc");
-   asm volatile( "lr 2, %2\n"
-                 "lgr 3,%1\n"
-                 "lgr 4,%3\n"
-                 "lghi 5,0\n"
-                 "svc 114\n"       // WAIT4
-                 : "=m" (status)
-                 : "d" (&status), "d" (pid), "d" (__WALL)
-                 : "2","3","4","5", "cc");
-   say("wait returned:",14);
-   saynum(status >> 8);
-   say("\n",1);
-   SAY("MAIN_proc_end");
-}
-
-void threadish(void)
-{
-   register long ret   asm("2") = (unsigned long) stack+4096-160;
-   register long flags asm("3") = CLONE_THREAD | CLONE_SIGHAND |
-                                  CLONE_PARENT | CLONE_VM |
-                                  CLONE_FILES  | CLONE_FS |
-                                  CLONE_PTRACE;
-
-   asm volatile( "svc 120\n"
-                 :"+d"(ret)
-                 : "d"(flags)
-                 : "cc", "memory");
-   if (!ret)
-      test_thread(0);
-   SAY("MAIN_thread");
-   mysleep(0,10000);
-   SAY("MAIN_thread_end");
-}
-
-int main(void)
-{
-   forkish();
-   threadish();
-   EXIT(1);
-   return 0;      // shuts up the compiler
-}
diff --git a/none/tests/s390x/test_clone.stderr.exp b/none/tests/s390x/test_clone.stderr.exp
deleted file mode 100644 (file)
index b28b04f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/none/tests/s390x/test_clone.stdout.exp b/none/tests/s390x/test_clone.stdout.exp
deleted file mode 100644 (file)
index a5aaa18..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-MAIN_proc
-child_start
-child_end
-wait returned:1
-MAIN_proc_end
-MAIN_thread
-MAIN_thread_end
-thread_start
-thread_end
diff --git a/none/tests/s390x/test_clone.vgtest b/none/tests/s390x/test_clone.vgtest
deleted file mode 100644 (file)
index 03b797c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-prog: test_clone