MT#55283 use env var as test case switch

Change-Id: I2c4cf2ec8a33a6e9ec28ab2b43465daa7c68b177
pull/1558/head
Richard Fuchs 3 years ago
parent f0b0feeca7
commit ea51fe1b28

@ -9,7 +9,7 @@ use Test::More;
use POSIX;
use Time::HiRes qw(usleep gettimeofday time sleep);
(POSIX::uname())[1] eq 'moose' or exit(); # timing sensitive tests
$ENV{RTPENGINE_EXTENDED_TESTS} or exit(); # timing sensitive tests
autotest_start(qw(--config-file=none -t -1 -i 203.0.113.1

@ -14,7 +14,7 @@ autotest_start(qw(--config-file=none -t -1 -i 203.0.113.1 -i 2001:db8:4321::1
or die;
#my $amr_tests = (POSIX::uname())[1] eq 'moose';
#my $amr_tests = $ENV{RTPENGINE_EXTENDED_TESTS};
my $amr_tests = 0;

@ -9,7 +9,7 @@ use Test::More;
use POSIX;
(POSIX::uname())[1] eq 'moose' or exit(); # long duration tests
$ENV{RTPENGINE_EXTENDED_TESTS} or exit(); # long duration tests
autotest_start(qw(--config-file=none -t -1 -i 203.0.113.1 -i 2001:db8:4321::1

@ -15,7 +15,7 @@ autotest_start(qw(--config-file=none -t -1 -i 203.0.113.1 -i 2001:db8:4321::1
or die;
my $amr_tests = (POSIX::uname())[1] eq 'moose';
my $amr_tests = $ENV{RTPENGINE_EXTENDED_TESTS};
# 100 ms sine wave

Loading…
Cancel
Save