From e2313d0c58975321dcd32ceea46472a0de23977a Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sat, 20 Mar 2021 00:04:18 -0500 Subject: [PATCH] Generate comments on how to adjust the timeout --- src/tools/makeTestfile.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/makeTestfile.pl b/src/tools/makeTestfile.pl index 34327741e..6cb0eb900 100644 --- a/src/tools/makeTestfile.pl +++ b/src/tools/makeTestfile.pl @@ -75,6 +75,9 @@ my \$tool = basename(\$0); \$ENV{HARNESS_ACTIVE} = 1 if scalar \@ARGV && shift eq '-tap'; \$ENV{TOP} = abs_path(\$ENV{TOP}) if exists \$ENV{TOP}; +# The default timeout used below can be set in the Makefile that +# generates this test script. Add this line and adjust the time: +# $target: EPICS_UNITTEST_TIMEOUT=$timeout my \$timeout = \$ENV{EPICS_UNITTEST_TIMEOUT} // $timeout; __EOT__