summaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-22 23:29:50 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-22 23:29:50 +0000
commitf5cc57f11946e1e269df25db434c5f8efe953a68 (patch)
tree47e7348bbf8d5077dec505c926af0d631c158b2b /run
parent4707ffd992e01a42e978b90b2cdcfc50d36e1513 (diff)
More various fixes to subtitle XML writing.
Diffstat (limited to 'run')
-rwxr-xr-xrun/test/rewrite_subs12
1 files changed, 12 insertions, 0 deletions
diff --git a/run/test/rewrite_subs b/run/test/rewrite_subs
new file mode 100755
index 00000000..a4c411d7
--- /dev/null
+++ b/run/test/rewrite_subs
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+export LD_LIBRARY_PATH=build/src
+if [ "$1" == "--debug" ]; then
+ shift
+ gdb --args build/test/rewrite_subs "$@"
+elif [ "$1" == "--valgrind" ]; then
+ shift
+ valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/test/rewrite_subs "$@"
+else
+ build/test/rewrite_subs "$@"
+fi