aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite')
-rwxr-xr-xgdb/testsuite/make-check-all.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/make-check-all.sh b/gdb/testsuite/make-check-all.sh
index 947e6e3..e0c1fdb 100755
--- a/gdb/testsuite/make-check-all.sh
+++ b/gdb/testsuite/make-check-all.sh
@@ -187,6 +187,10 @@ do_tests ()
mkdir -p "$dir"
cp gdb.sum gdb.log "$dir"
+
+ # Record the 'make check' command to enable easy re-running.
+ echo "make check RUNTESTFLAGS=\"${rtf[*]} ${tests[*]}\"" \
+ > "$dir/make-check.sh"
fi
}