show-queues: A script to display a summary of what's in the queues.
[patchq.git] / check-syntax.sh
index 65f5a5f..2fc9ddd 100755 (executable)
@@ -1,4 +1,30 @@
 #!/bin/bash -
 
-echo check-syntax called: $@
-exit 1
+set -e
+
+d="$(dirname $0)"
+source $d/test-functions
+
+pick_project "$@"
+checkout_sources
+apply_patches "$@"
+local_config
+
+cd $project
+
+./localconfigure
+
+case "$project" in
+    libguestfs)
+        make ||:
+        rm po-docs/podfiles; make -C po-docs update-po
+        make
+        ;;
+    *)
+        make
+        ;;
+esac
+
+# XXX
+# make check-syntax is not implemented in any project yet.
+exit 77