aboutsummaryrefslogtreecommitdiff
path: root/src/tools/windows/dump_syms/run_regtest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/windows/dump_syms/run_regtest.sh')
-rwxr-xr-xsrc/tools/windows/dump_syms/run_regtest.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tools/windows/dump_syms/run_regtest.sh b/src/tools/windows/dump_syms/run_regtest.sh
new file mode 100755
index 00000000..1f3e5693
--- /dev/null
+++ b/src/tools/windows/dump_syms/run_regtest.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+Release/dump_syms.exe testdata/dump_syms_regtest.pdb > testdata/dump_syms_regtest.new
+if diff -u testdata/dump_syms_regtest.new testdata/dump_syms_regtest.out >& testdata/dump_syms_regtest.diff; then
+ rm testdata/dump_syms_regtest.diff testdata/dump_syms_regtest.new
+ echo "PASS"
+else
+ echo "FAIL, see testdata/dump_syms_regtest.[new|diff]"
+fi