Commit bab5bcd9 authored by Elemer Lelik's avatar Elemer Lelik
Browse files

Update README.linux

parent 41524487
......@@ -11,7 +11,10 @@ sudo apt-get install ant xsltproc
2.Clone the titan directory from git into /home/<user_id>/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/<user id>/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/<user id>/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/<user id>/titan/Install
JDKDIR := /home/<user id>/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/<user id>/titan/Install for bash )
cd /home/<user id>/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/<user id>/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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment