Skip to content

Commit 780a75b

Browse files
authored
Merge pull request intel#833 from myler/fix-testbase-xmain
fix the testbase issue with different env /rdrive/tests/mainline
2 parents ada7423 + 2c331fc commit 780a75b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

suite_generator_sycl.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ BEGIN
2121

2222
my $test_suite_repo = '.';
2323
my $testbase = "/rdrive/tests/mainline/CT-SpecialTests/llvm-test-suite";
24+
if (defined $ENV{TESTROOT}) {
25+
$testbase = "$ENV{TESTROOT}/CT-SpecialTests/llvm-test-suite";
26+
}
27+
2428
my %feature_subsuite = ('SYCL' => {'Matrix'});
2529

2630
my $sycl_dir = '';

0 commit comments

Comments
 (0)