From f40bd8162fa03d06f14fb9a5735cf40ee9a54a72 Mon Sep 17 00:00:00 2001 From: Ryan Newton Date: Wed, 7 Dec 2022 07:47:13 -0800 Subject: [PATCH] enable nanosleep nocrash analyze test Summary: Enable an additional test. Reviewed By: VladimirMakaev Differential Revision: D39430020 fbshipit-source-id: 3d2d19645f8337767ed25f18d7e2e672d854c6e9 --- tests/TARGETS | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/TARGETS b/tests/TARGETS index 9d40e05..4bc6ad9 100644 --- a/tests/TARGETS +++ b/tests/TARGETS @@ -185,7 +185,15 @@ buck_sh_test( ), # TODO: enable more analyze tests: # ("cas_sequence", "$(location //hermetic_infra/hermit/tests:chaos_cas_sequence_bin)"), - # ("nanosleep-threads-nocrash", "$(location //hermetic_infra/hermit/tests:nanosleep-threads-nocrash)"), + ( + "nanosleep-threads-nocrash", + "$(location //hermetic_infra/hermit/tests:nanosleep-threads-nocrash)", + # TODO(T139493442): this test exits under the baseline hermit run currently, so we could use a feature to + # flip the target/baseline automatically + "--run-arg=--base-env=empty --target-exit-code=0", + # TODO: indicate the right lines to blame: + "", + ), ] ]