浏览代码

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];
 		int i=0;
 
+		setpgid(0, 0);
+
 		/* "Launchers" such as Valgrind need to be inserted
 		 * after the Libtool-generated wrapper scripts, hence
 		 * this special-case.  */