Revert "test slowdown"
authorPedro Alves <palves@redhat.com>
Thu, 6 Aug 2015 11:45:45 +0000 (12:45 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 6 Aug 2015 11:45:45 +0000 (12:45 +0100)
That was pushed by mistake.

gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.c
gdb/testsuite/gdb.threads/forking-threads-plus-breakpoint.exp

index 14b42405fcce0f5a708bcf332238ce327b2c0f10..a6ff0fd3d07d87bb3bd9270081655e27d5a9f794 100644 (file)
@@ -33,7 +33,7 @@ pthread_t threads[NTHREADS];
 
 pthread_barrier_t barrier;
 
-#define NFORKS 1000
+#define NFORKS 10
 
 /* Used to create a conditional breakpoint that always fails.  */
 volatile int zero;
@@ -108,7 +108,7 @@ main (void)
   pthread_t bp_thread;
 
   /* Don't run forever.  */
-  //  alarm (180);
+  alarm (180);
 
   pthread_barrier_init (&barrier, NULL, NTHREADS + 1);
 
index b50e6ec7b279abc4b41fb38817a30a4f079cb8c3..448b734fd534f66f68c59ab143316f2ab83564d8 100644 (file)
@@ -39,7 +39,6 @@ proc do_test { cond_bp_target detach_on_fork } {
 
     set saved_gdbflags $GDBFLAGS
     set GDBFLAGS [concat $GDBFLAGS " -ex \"set non-stop on\""]
-    set GDBFLAGS [concat $GDBFLAGS " -ex \"set sysroot /\""]
     clean_restart $binfile
     set GDBFLAGS $saved_gdbflags
 
@@ -72,7 +71,6 @@ proc do_test { cond_bp_target detach_on_fork } {
        }
        -re "Inferior $decimal \(\[^\r\n\]+\) exited normally" {
            incr fork_count
-           exp_continue
            if {$fork_count <= 100} {
                exp_continue
            } else {
@@ -107,7 +105,7 @@ proc foreach_with_prefix {var list body} {
 }
 
 foreach_with_prefix cond_bp_target {1 0} {
-    foreach_with_prefix detach_on_fork {"off" "off"} {
+    foreach_with_prefix detach_on_fork {"on" "off"} {
        do_test $cond_bp_target $detach_on_fork
 
        # Disable "off" for now.  The test does pass with
This page took 0.029162 seconds and 4 git commands to generate.