File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 15
15
{ group : 'scope' , testcases : 'scope' } ,
16
16
{ group : 'traces' , testcases : 'traces_custom_function traces_pmem traces' }
17
17
] . each do |entry |
18
- expect ( Bash . call ( "source #{ LKP_SRC } /lib/tests/nvml.sh; source #{ LKP_SRC } /lib/debug.sh; export BENCHMARK_ROOT=#{ @benchmark_root } ; export group=#{ entry [ :group ] } ; check_group_param; echo $testcases" ) ) . to eq ( entry [ :testcases ] )
18
+ expect ( Bash . call ( "source #{ LKP_SRC } /lib/tests/nvml.sh; BENCHMARK_ROOT=#{ @benchmark_root } group=#{ entry [ :group ] } suite=nvml check_group_param 1>/dev/null ; echo $testcases" ) ) . to eq ( entry [ :testcases ] )
19
19
end
20
20
end
21
21
24
24
{ group : 'wronggroup' , output : 'Parameter group wronggroup is invalid' } ,
25
25
{ group : 'wrong_group' , output : 'single test wrong_group is not found' }
26
26
] . each do |entry |
27
- expect ( Bash . call ( "source #{ LKP_SRC } /lib/tests/nvml.sh; source #{ LKP_SRC } /lib/debug.sh; export BENCHMARK_ROOT=#{ @benchmark_root } ; export group=#{ entry [ :group ] } ; check_group_param 2>&1" , exitstatus : [ 99 ] ) ) . to match ( /#{ entry [ :output ] } / )
27
+ expect ( Bash . call ( "source #{ LKP_SRC } /lib/tests/nvml.sh; BENCHMARK_ROOT=#{ @benchmark_root } group=#{ entry [ :group ] } suite=nvml check_group_param 2>&1 1>/dev/null " , exitstatus : [ 99 ] ) ) . to match ( /#{ entry [ :output ] } / )
28
28
end
29
29
end
30
30
end
You can’t perform that action at this time.
0 commit comments