First navigate to "apache-vxquery-X.Y/vxquery-cli/target/appassembler/bin" and then run the following file.
xtest.bat
-O N : Optimization Level -catalog VAL : Test Catalog XML -exclude VAL : Exclude filter regular expression -htmlreport VAL : HTML Report output file -include VAL : Include filter regular expression -keepalive N : Milliseconds to keep server alive after tests have completed -port N : Port for web server to listen on -textreport VAL : Text Report output file -threads N : Number of threads -v : Verbose -xmlreport VAL : XML Report output file
The command can be run with Java options to increase the amount of memory to one gigabyte. Also helps to use a logging properties file that only output serious errors. This will reduce the output to only a few "LINE 7:" lines. Should help with the speed in running the test.
JAVA_OPTS="-Xmx1024m -Djava.util.logging.config.file=/path/to/logging.properties"
The VXQuery test suite focuses on parallel processing tests used in our weather benchmark.
sh ./vxquery-xtest/target/appassembler/bin/xtest -catalog vxquery-xtest/src/test/resources/VXQueryCatalog.xml -htmlreport /tmp/vxquery_report.html
$ mkdir -p vxquery-xtest/test-suites $ cd vxquery-xtest/test-suites
$ curl -O https://dev.w3.org/2006/xquery-test-suite/PublicPagesStagingArea/XQTS_1_0_3.zip
$ unzip -d xqts XQTS_1_0_3.zip
$ cd ../..
sh ./vxquery-xtest/target/appassembler/bin/xtest -catalog vxquery-xtest/test-suites/xqts/XQTSCatalog.xml -htmlreport /tmp/full_report.html
sh ./vxquery-xtest/target/appassembler/bin/xtest -catalog vxquery-xtest/test-suites/xqts/XQTSCatalog.xml -htmlreport /tmp/previous_report.html -previous-test-results vxquery-xtest/results/xqts.txt