Skip to content

Commit c3bbcd7

Browse files
authored
Merge pull request #455 from teojgo/regression_test/scorep_sourcesdir_fix
[test] Fix sourcesdir for the scorep test
2 parents 2a95f73 + 4284f1c commit c3bbcd7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cscs-checks/tools/profiling_and_debugging/scorep_mpi_omp.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import os
2+
13
import reframe as rfm
24
import reframe.utility.sanity as sn
35

@@ -32,8 +34,7 @@ def __init__(self, lang):
3234
if lang == 'F90':
3335
self.build_system.max_concurrency = 1
3436

35-
self.sourcesdir = 'src/%s' % lang
36-
self.build_system.srcdir = self.sourcesdir
37+
self.sourcesdir = os.path.join('src', lang)
3738
self.num_tasks = 3
3839
self.num_tasks_per_node = 3
3940
self.num_cpus_per_task = 4

0 commit comments

Comments
 (0)