Skip to content

Commit 4cece8b

Browse files
committed
allow thread after main
1 parent c1073fe commit 4cece8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_scorep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def test_threads(scorep_env, instrumenter):
424424
env=scorep_env,
425425
)
426426

427-
assert std_err == ""
427+
assert std_err == "" or "warning: Thread after main " in std_err
428428
assert "hello world\n" in std_out
429429
assert "Thread 0 started\n" in std_out
430430
assert "Thread 1 started\n" in std_out

0 commit comments

Comments
 (0)