summaryrefslogtreecommitdiffstats
path: root/addon-sdk/source/bin/integration-scripts/buildbot-run-cfx-helper
diff options
context:
space:
mode:
Diffstat (limited to 'addon-sdk/source/bin/integration-scripts/buildbot-run-cfx-helper')
-rwxr-xr-xaddon-sdk/source/bin/integration-scripts/buildbot-run-cfx-helper14
1 files changed, 14 insertions, 0 deletions
diff --git a/addon-sdk/source/bin/integration-scripts/buildbot-run-cfx-helper b/addon-sdk/source/bin/integration-scripts/buildbot-run-cfx-helper
new file mode 100755
index 000000000..56c76ad32
--- /dev/null
+++ b/addon-sdk/source/bin/integration-scripts/buildbot-run-cfx-helper
@@ -0,0 +1,14 @@
+#!/bin/bash
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+
+source ./bin/activate
+if [ type -P xvfb-run ]
+then
+ xvfb-run cfx $*
+else
+ cfx $*
+fi
+deactivate