summaryrefslogtreecommitdiffstats
path: root/debian/tests/xpcshellTest.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdebian/tests/xpcshellTest.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/tests/xpcshellTest.sh b/debian/tests/xpcshellTest.sh
new file mode 100755
index 0000000000..f924bc13de
--- /dev/null
+++ b/debian/tests/xpcshellTest.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+echo -n "Checking if we can run xpcshell..."
+
+LD_LIBRARY_PATH=/usr/lib/thunderbird/ \
+/usr/lib/thunderbird-devel/sdk/bin/xpcshell \
+ -g /usr/share/thunderbird/ debian/tests/xpcshellTest.js
+
+echo "done."