summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2010-08-05 19:40:30 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2010-08-05 19:40:30 +0100
commit445104393866a0b3ecb6228b01b99358337d8893 (patch)
tree55f5bcdf1126d52dbe2d11f9d52301c17797e6c7
Simple glean test
-rwxr-xr-xglean-test.sh2
-rwxr-xr-xglean-wrapper5
2 files changed, 7 insertions, 0 deletions
diff --git a/glean-test.sh b/glean-test.sh
new file mode 100755
index 0000000..950d50e
--- /dev/null
+++ b/glean-test.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+xinit `pwd`/glean-wrapper -- :99 -multiwindow >/tmp/startx.log 2>&1
diff --git a/glean-wrapper b/glean-wrapper
new file mode 100755
index 0000000..ae1f84f
--- /dev/null
+++ b/glean-wrapper
@@ -0,0 +1,5 @@
+#!/bin/sh
+echo glean -r direct -o --quick >/tmp/glean.log
+$JHBUILD_CHECKOUTROOT/glean/bin/glean -r direct -o --quick >>/tmp/glean.log 2>&1
+echo "exit code" $? >>/tmp/glean.log
+# run again with LIBGL_ALWAYS_INDIRECT=1 ?