summaryrefslogtreecommitdiffstats
path: root/petascope/test/full-test-online.sh
diff options
context:
space:
mode:
authorConstantin <jucovschi@gmail.com>2010-06-02 20:09:42 +0200
committerConstantin <jucovschi@gmail.com>2010-06-02 20:09:42 +0200
commit40e12c6af9d05c3413efaf535c35c625b736cbb9 (patch)
tree6a9f6b86b55724e659ca270171496d82362de9cc /petascope/test/full-test-online.sh
parentfcda34adb1c78d0929778e1324c873552d21ee1d (diff)
downloadrasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.tar.gz
rasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.tar.xz
rasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.zip
preparing for joining with rasdaman open source
Diffstat (limited to 'petascope/test/full-test-online.sh')
-rwxr-xr-xpetascope/test/full-test-online.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/petascope/test/full-test-online.sh b/petascope/test/full-test-online.sh
new file mode 100755
index 0000000..2356719
--- /dev/null
+++ b/petascope/test/full-test-online.sh
@@ -0,0 +1,14 @@
+#! /bin/bash
+# Command-line utility for testing PetaScope WCPS
+# Usage: ./full-test-online.sh [URL] [testFolder] [outputFolder]
+# Parameters:
+# * URL: the URL of the PetaScope implementation. Defaults to the new implementation on kahlua
+# * testFolder: the folder that contains abstract syntax query test cases (extension ".test")
+# * outputFolder: the folder where the script should save intermediate and output files.
+#
+# WARNING: if you use relative paths for the folders, they should be relative to the project folder, not to the test folder !
+
+CLASSPATH=.:lib/wcps-all.jar:lib/jaxb-api.jar:lib/jaxb-impl.jar:lib/postgresql-8.3-604.jdbc4.jar:lib/jsr173_api.jar:lib/rasj.jar:lib/commons-math-1.1.jar:lib/antlrworks-1.2.3.jar:lib/commons-io-1.3.2.jar
+
+# cd .. && make jar && java -cp $CLASSPATH wcps.server.test.FullTestsOnline $1 $2 $3
+cd .. && java -cp $CLASSPATH wcps.server.test.FullTestsOnline $1 $2 $3