From bab5bcd910e384402bf36ac40933000de4b4a4be Mon Sep 17 00:00:00 2001 From: Elemer Lelik Date: Sat, 24 Jan 2015 13:38:50 +0100 Subject: [PATCH] Update README.linux --- README.linux | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/README.linux b/README.linux index fa9270c..0666677 100644 --- a/README.linux +++ b/README.linux @@ -11,7 +11,10 @@ sudo apt-get install ant xsltproc 2.Clone the titan directory from git into /home//titan +git clone https://github.com/eclipse/titan.core titan + 3. Configure the build + cd titan check that MakefileFOSS.cfg is present and has the following content: cat MakefileFOSS.cfg @@ -22,19 +25,24 @@ USAGE_STATS := no Several build options are possible; for details on options , please read through the Makefile.cfg. -Options can be overridden by the content of a file named Makefile.personal. +Options can be overridden by the content of a file named Makefile.personal which can be used to +adapt to local installation directories, change config options etc. Below, a small number of typical scenarios are presented. 1) JNI disabled The JNI interface is used by the Eclipse Titan Executor or by the Java Executor API. -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) +If you don't need them , Titan can be compiled without JNI. Create ~/titan/Makefile.personal to override settings in Makefile.cfg with the following content: +(replace paths with values relevant to your installation) TTCN3_DIR := /home//titan/Install +OPENSSL_DIR := /usr +#JDKDIR := /usr/lib/jvm/java-7-openjdk-amd64 +XMLDIR := /usr JNI := no -GEN_PDF := yes +GEN_PDF := no @@ -44,11 +52,14 @@ GEN_PDF := yes install JDK into /home//jdk Create ~/titan/Makefile.personal to override settings in Makefile.cfg with the following content: +(replace paths with values relevant to your installation) TTCN3_DIR := /home//titan/Install -JDKDIR := /home//jdk +OPENSSL_DIR := /usr +JDKDIR := /usr/lib/jvm/java-7-openjdk-amd64 +XMLDIR := /usr JNI := yes -GEN_PDF := yes +GEN_PDF := no @@ -72,11 +83,24 @@ export TTCN3_DIR=/home//titan/Install for bash ) cd /home//titan/function_test + +in the following Makefiles + +XER_EncDec/Makefile +Text_EncDec/Makefile +RAW_EncDec/Makefile + +edit the value of XMLDIR to match your installation values + +run the tests + make ( or make |& tee outputfile if you want to save the output for verification) + cd /home//titan/regression_test make run + ( or make run |& tee outputfile if you want to save the output for verification) These tests might run for half an hour (regr.tests) to two hours (func.tests) -- 2.34.1