tests: helper script to run all regression tests
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d96bab0..df435ee 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -58,10 +58,11 @@
     -DMAGICKCORE_HDRI_ENABLE=0
     )
 
-# set up a symlink for out-of-tree builds
+# extra setup for out-of-tree builds
 if (NOT (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR))
-    add_custom_target(golden-symlink ALL
-        ln -sf ${CMAKE_CURRENT_SOURCE_DIR}/golden
+    add_custom_target(binary-dir-symlinks ALL
+        COMMAND ln -sf ${CMAKE_CURRENT_SOURCE_DIR}/golden
+        COMMAND ln -sf ${CMAKE_CURRENT_SOURCE_DIR}/run_all_tests.sh
         VERBATIM
         )
 endif()
diff --git a/tests/run_all_tests.sh b/tests/run_all_tests.sh
new file mode 100755
index 0000000..fcd0412
--- /dev/null
+++ b/tests/run_all_tests.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+#
+# Run all the regression tests
+
+# xglbase tests that basic XGL calls are working (don't return an error).
+./xglbase
+
+# xgl_blit_tests test Fill/Copy Memory, Clears, CopyMemoryToImage
+./xgl_blit_tests
+
+# xgl_image_tests check that image can be allocated and bound.
+./xgl_image_tests
+
+#xgl_render_tests tests a variety of features using rendered images
+# --compare-images will cause the test to check the resulting image against
+# a saved "golden" image and will report an error if there is any difference
+./xgl_render_tests --compare-images