Commit a2e57a31 authored by YannGarcia's avatar YannGarcia
Browse files

Review README file

parent 0e447f48
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -225,6 +225,7 @@ Procedure in TITAN command line:
- Build the test suite you want to exectue (e.g. LIS test suite)

```sh
$ cd ~/dev/TTF009_Ng112/
$ export ATS=AtsLIS
$ make
...
@@ -240,7 +241,7 @@ $ make
- To run the test suitem, execute the following command:

```sh
$ cd ../scripts
$ cd ~/dev/TTF009_Ng112/scripts
$ ./run-all.bash
...
```
+34 −25
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ sudo DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y
sudo DEBIAN_FRONTEND=noninteractive apt-get install software-properties-common -y
sudo DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:linuxuprising/java -y
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get --allow-unauthenticated install emacs openjdk-11-jre gcc-8 g++-8 git subversion lsof ntp gdb make cmake flex bison autoconf doxygen graphviz libtool libncurses5-dev expect libssl-dev libgcrypt-dev libxml2-dev xutils-dev tcpdump libpcap-dev libwireshark-dev wget tree unzip sshpass kubuntu-desktop valgrind qt5-default qttools5-dev qtmultimedia5-dev libqt5svg5-dev vim tzdata dos2unix xsltproc -y
sudo DEBIAN_FRONTEND=noninteractive apt-get --allow-unauthenticated install emacs openjdk-11-jre gcc-8 g++-8 git subversion lsof ntp gdb make cmake flex bison autoconf doxygen graphviz libedit2 libedit-dev libtool libncurses5-dev expect libssl-dev libgcrypt-dev libxml2-dev xutils-dev tcpdump libpcap-dev libwireshark-dev wget tree unzip sshpass kubuntu-desktop valgrind qt5-default qttools5-dev qtmultimedia5-dev libqt5svg5-dev vim tzdata dos2unix xsltproc -y
# Install java
#sudo DEBIAN_FRONTEND=noninteractive apt-get install oracle-java9-installer oracle-java9-set-default -y
#sudo DEBIAN_FRONTEND=noninteractive apt-get --allow-unauthenticated install oracle-java10-installer oracle-java10-set-default -y
@@ -73,25 +73,31 @@ then
    exit -1
fi

cd /home/vagrant
echo "" >> /home/vagrant/.bashrc
echo "export LD_LIBRARY_PATH=/home/vagrant/dev/etsi_emcom/lib:$LD_LIBRARY_PATH" >> /home/vagrant/.bashrc
echo "export PATH=/home/vagrant/bin:$PATH" >> /home/vagrant/.bashrc
echo ". ~/devenv.bash" >> /home/vagrant/.bashrc

cd /home/vagrant/dev
git clone https://forge.etsi.org/gitlab/emergency-communications/NG112 ./STF549_Ng112
cd /home/vagrant/dev/STF549_Ng112
cd /home/vagrant/dev/STF549_Ng112/ttcn
git clone https://forge.etsi.org/gitlab/emergency-communications/NG112 ./TTF009_Ng112
cd /home/vagrant/dev/TTF009_Ng112
cd /home/vagrant/dev/TTF009_Ng112/ttcn
git clone https://forge.etsi.org/gitlab/LIBS/LibSip.git ./LibSip
git clone https://forge.etsi.org/gitlab/LIBS/LibIms.git ./LibIms
git clone https://forge.etsi.org/gitlab/LIBS/LibCommon.git ./LibCommon
git clone -bSTF525 https://forge.etsi.org/gitlab/LIBS/LibIts ./LibIt
cd /home/etsi/dev/STF549_Ng112/ttcn/LibIts
cd /home/etsi/dev/TTF009_Ng112/ttcn/LibIts
rm -fr asn1 t3q xsd
cd ttcn && rm -fr BTP CALM CAM Common DCC DENM GeoNetworking Ipv6OverGeoNetworking IVIM MapemSpatem Pki Security SremSsem V2G
cd /home/vagrant/dev/STF549_Ng112/scripts
cd /home/vagrant/dev/TTF009_Ng112/scripts
chmod 775 *.bash devenv.bash.*
cd /home/vagrant/dev/STF549_Ng112/docker
cd /home/vagrant/dev/TTF009_Ng112/docker
chmod 775 *.sh
cd /home/vagrant/dev/STF549_Ng112
cd /home/vagrant/dev/TTF009_Ng112
chmod 775 ./.jenkins.sh
cd /home/vagrant
ln -sf /home/vagrant/dev/STF549_Ng112/scripts/devenv.bash.ubuntu /home/vagrant/devenv.bash
ln -sf /home/vagrant/dev/TTF009_Ng112/scripts/devenv.bash.ubuntu /home/vagrant/devenv.bash
. /home/vagrant/devenv.bash

# Install all frameworks
@@ -127,25 +133,28 @@ lcov --version
coveralls-lcov -h

# Install eclipse
cd ${HOME_FRAMEWORKS}
wget -q 'http://ftp.halifax.rwth-aachen.de/eclipse/technology/epp/downloads/release/photon/R/eclipse-cpp-photon-R-linux-gtk-x86_64.tar.gz'
tar -zxvf ./eclipse-cpp-photon-R-linux-gtk-x86_64.tar.gz
rm -f ./eclipse-cpp-photon-R-linux-gtk-x86_64.tar.gz

cd /home/vagrant
echo "" >> /home/vagrant/.bashrc
echo "export LD_LIBRARY_PATH=/home/vagrant/dev/etsi_emcom/lib:$LD_LIBRARY_PATH" >> /home/vagrant/.bashrc
echo "export PATH=/home/vagrant/bin:$PATH" >> /home/vagrant/.bashrc
echo ". ~/devenv.bash" >> /home/vagrant/.bashrc
wget --progress=dot:mega 'http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/technology/epp/downloads/release/2021-12/R/eclipse-cpp-2021-12-R-linux-gtk-x86_64.tar.gz' -Oeclipse-cpp-2021-12-R-linux-gtk-x86_64.tar.gz || exit 1
tar -zxvf ./eclipse-cpp-2021-12-R-linux-gtk-x86_64.tar.gz || exit 1
ln -sf ${HOME}/frameworks/eclipse/eclipse ${HOME}/bin/eclipse
rm -f ./eclipse-cpp-2021-12-R-linux-gtk-x86_64.tar.gz

if wget --progress=dot:mega 'https://www.eclipse.org/downloads/download.php?file=/titan/TITAN_Designer_and_Executor_plugin-8.1.0.zip' -OTITAN_Designer_and_Executor_plugin.zip; then
  eclipse/eclipse -noSplash -application org.eclipse.equinox.p2.director \
    -destination /home/etsi/frameworks/eclipse \
    -repository 'jar:file:///home/etsi/frameworks/TITAN_Designer_and_Executor_plugin.zip!/' \
    -installIU TITAN_Designer.feature.group,TITAN_Executor.feature.group,TITAN_Log_Viewer.feature.group,Titan_external_dependencies.feature.group,Titanium.feature.group,Titanium_external_dependencies.feature.group
  rm -f TITAN_Designer_and_Executor_plugin.zip
fi

. /home/vagrant/.bashrc
cd /home/vagrant/dev/STF549_Ng112/scripts
# Build TITAN
cd /home/vagrant/dev/TTF009_Ng112/scripts
./build_titan.bash
. /home/vagrant/devenv.bash
./update_its_project.bash
cd /home/vagrant/dev/etsi_emco/src/TestCodec/objs
../bin/testcodec_generate_makefile.bash
../bin/run_all.bash

# Build the AtsLIS
cd /home/vagrant/dev/TTF009_Ng112
export ATS=AtsLIS
make

cd ${OLD_PWD}