Skip to content

Commit 3e9bd3f

Browse files
author
ndenoyelle
committed
Attempt to debug CI
1 parent e46d6d8 commit 3e9bd3f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

contrib/ci.inria.fr/Jenkinsfile-basic

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ pipeline {
7171
deleteDir()
7272
}
7373
}
74+
archiveArtifacts artifacts: "build/utils/hwloc/test-suite.log", onlyIfSuccessful: false
7475
} else {
7576
node('msvc') {
7677
dir('check-msvc') {

utils/hwloc/test-hwloc-thread-bind.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ static int check_strategy_pthread(int prebind)
213213
/* Check sequential, parallel, fork */
214214
/***************************************************************************/
215215

216-
static void test_attach_parallel(int (*check_fn)(int))
216+
static void test_attach(int (*check_fn)(int))
217217
{
218218
pid_t pid = fork();
219219
assert(pid >= 0);
@@ -284,15 +284,15 @@ int main(void)
284284
#if HWLOC_HAVE_PTRACE
285285
#ifdef _OPENMP
286286
test_parallel(check_strategy_openmp);
287-
//test_attach_parallel(check_strategy_openmp);
287+
//test_attach(check_strategy_openmp);
288288
// OpenMP doesn't like to fork and hangs..
289289
/* test_attach_parallel(check_strategy_openmp, cpuaffinity_round_robin); */
290290
// OpenMP doesn't like to fork and hangs..
291291
/* test_attach_parallel(check_strategy_openmp, cpuaffinity_scatter); */
292292
#endif // _OPENMP
293293
#if HWLOC_HAVE_PTHREAD
294294
test_parallel(check_strategy_pthread);
295-
test_attach_parallel(check_strategy_pthread);
295+
test_attach(check_strategy_pthread);
296296
#endif // HWLOC_HAVE_PTHREAD
297297
#endif // HWLOC_HAVE_PTRACE
298298
#endif // HWLOC_HAVE_SYS_GETTID

0 commit comments

Comments
 (0)