Skip to content

Commit 45665d4

Browse files
committed
programs/unixbench/xinitrc: exit after upload results
Signed-off-by: Philip Li <[email protected]>
1 parent 51b1b4f commit 45665d4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: programs/unixbench/xinitrc

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
. $LKP_SRC/lib/reproduce-log.sh
1212
. $LKP_SRC/lib/upload.sh
1313

14-
cd $BENCHMARK_ROOT/unixbench || die "no $BENCHMARK_ROOT/unixbench"
14+
cd $BENCHMARK_ROOT/unixbench/UnixBench || die "no $BENCHMARK_ROOT/unixbench/UnixBench dir"
1515

1616
export LANG=C
1717

@@ -24,7 +24,9 @@ iteration=$(( runtime / 10 ))
2424

2525
[ -n "$nr_task" ] && other_params="-c $nr_task"
2626

27-
cd UnixBench || exit
28-
log_cmd ./Run $test $other_params -i $iteration || exit
27+
log_cmd ./Run $test $other_params -i $iteration
28+
exit_status=$?
2929

3030
upload_files -t results $BENCHMARK_ROOT/unixbench/UnixBench/results/*
31+
32+
exit $exit_status

0 commit comments

Comments
 (0)