Переглянути джерело

On timeout, only kill the timed-out test

Samuel Thibault 5 роки тому
батько
коміт
6374941c76
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      tests/loader.c

+ 2 - 0
tests/loader.c

@@ -361,6 +361,8 @@ int main(int argc, char *argv[])
 		char *launcher_argv[100];
 		char *launcher_argv[100];
 		int i=0;
 		int i=0;
 
 
+		setpgid(0, 0);
+
 		/* "Launchers" such as Valgrind need to be inserted
 		/* "Launchers" such as Valgrind need to be inserted
 		 * after the Libtool-generated wrapper scripts, hence
 		 * after the Libtool-generated wrapper scripts, hence
 		 * this special-case.  */
 		 * this special-case.  */