\r
2.Clone the titan directory from git into /home/<user_id>/titan\r
\r
+git clone https://github.com/eclipse/titan.core titan\r
+\r
3. Configure the build \r
+\r
cd titan\r
check that MakefileFOSS.cfg is present and has the following content:\r
cat MakefileFOSS.cfg\r
\r
\r
Several build options are possible; for details on options , please read through the Makefile.cfg.\r
-Options can be overridden by the content of a file named Makefile.personal.\r
+Options can be overridden by the content of a file named Makefile.personal which can be used to \r
+adapt to local installation directories, change config options etc.\r
Below, a small number of typical scenarios are presented.\r
\r
1) JNI disabled\r
\r
The JNI interface is used by the Eclipse Titan Executor or by the Java Executor API.\r
-If you don't need them , Titan can be compiled without JNI. ( In this case, you won't be able to execute Titan test cases from the Eclipse plug-in)\r
+If you don't need them , Titan can be compiled without JNI. \r
\r
Create ~/titan/Makefile.personal to override settings in Makefile.cfg with the following content:\r
+(replace paths with values relevant to your installation)\r
\r
TTCN3_DIR := /home/<user id>/titan/Install\r
+OPENSSL_DIR := /usr\r
+#JDKDIR := /usr/lib/jvm/java-7-openjdk-amd64\r
+XMLDIR := /usr\r
JNI := no\r
-GEN_PDF := yes\r
+GEN_PDF := no\r
\r
\r
\r
install JDK into /home/<user id>/jdk\r
\r
Create ~/titan/Makefile.personal to override settings in Makefile.cfg with the following content:\r
+(replace paths with values relevant to your installation)\r
\r
TTCN3_DIR := /home/<user id>/titan/Install\r
-JDKDIR := /home/<user id>/jdk\r
+OPENSSL_DIR := /usr\r
+JDKDIR := /usr/lib/jvm/java-7-openjdk-amd64\r
+XMLDIR := /usr\r
JNI := yes\r
-GEN_PDF := yes\r
+GEN_PDF := no\r
\r
\r
\r
\r
\r
cd /home/<user id>/titan/function_test\r
+\r
+in the following Makefiles \r
+\r
+XER_EncDec/Makefile\r
+Text_EncDec/Makefile\r
+RAW_EncDec/Makefile\r
+\r
+edit the value of XMLDIR to match your installation values \r
+\r
+run the tests\r
+\r
make\r
\r
( or make |& tee outputfile if you want to save the output for verification)\r
+\r
cd /home/<user id>/titan/regression_test\r
make run\r
+\r
( or make run |& tee outputfile if you want to save the output for verification)\r
\r
These tests might run for half an hour (regr.tests) to two hours (func.tests)\r