forked from ontop/ontop
-
Notifications
You must be signed in to change notification settings - Fork 0
RunOntopTestOnServer
Guohui Xiao edited this page Apr 28, 2014
·
5 revisions
You may also just update the existing copy to the most recent revision.
Run the test-ALL script in /build directory. However, before you run the script make sure several things:
- Log in as root user.
- Set ONTOP_BUILD_PATH that points the location of the check-out folder.
root#: export ONTOP_BUILD_PATH=/build/ontop-build-2472
- Set `ONTOP_REPORT_PATH that points the location for publishing the report files for public viewing.
root#: export ONTOP_REPORT_PATH=/var/lib/tomcat7/webapps/ontop-test-result
3. All the database servers are running
- The location for MySQL, PostgreSQL and DB2 is in obdalin3 server (IP: 10.7.20.39)
root#: service mysql.server start
root#: service postgresql start
root#: su - db2inst1
#: db2start
- The location for SQL Server and Oracle is in obdawin server (IP: 10.7.20.91). Use the GUI interface to start/stop the database services. (Note: the SQLServer test cases use the server instance named "MSSQLSERVER" (SQL Server 2012) instead of "KASIMIR" (SQL Server 2008)).
root@/build#: ./test-ALL.sh
In addition, you can run the test individually based on the project packages.
root@/build#: ./obdalib-core-test.sh root@/build#: ./quest-owlapi3-test.sh root@/build#: ./quest-rdb2rdf-compliance-test.sh root@/build#: ./quest-sesame-test root@/build#: ./quest-sparql-compliance-test.sh root@/build#: ./reformulaton-core-test.sh
Go to http://10.7.20.39:8080/ontop-test-result/ to see the generated reports.
If the test run doesn't seem to recognize you changes, run mvn install -DskipTests to re-install the package to Maven repository.
- Quick Start Guide
- Easy-Tutorials
- More Tutorials
- Examples
- FAQ
- Using Ontop
- Learning more
- Troubleshooting
- Developer Guides
- Links