Commit e8b4d584 authored by Yann Garcia's avatar Yann Garcia
Browse files

Update scripts

parent f04ff427
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
FROM etsiforge/stfubuntu:20.04
FROM stfubuntu:20.04

MAINTAINER ETSI TTF T027

+4 −4
Original line number Diff line number Diff line
#!/bin/bash

ECLIPSE_URL='https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2020-06/R/eclipse-jee-2020-06-R-linux-gtk-x86_64.tar.gz&r=1'
ECLIPSE_URL='https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2024-03/R/eclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz&r=1'
TITAN_URL='https://www.eclipse.org/downloads/download.php?file=/titan/TITAN_Designer_and_Executor_Plugin_7.1.0.zip&r=1'

#set -e
@@ -10,10 +10,10 @@ echo -e "*****************************\n* Install eclipse\n*********************

mkdir -p ${HOME}/frameworks
cd ${HOME}/frameworks || exit 1
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
wget --progress=dot:mega 'http://www.mirrorservice.org/sites/download.eclipse.org/eclipseMirror/technology/epp/downloads/release/2024-03/R/eclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz' -Oeclipse-cpp-2024-03-R-linux-gtk-x86_64.tar.gz || exit 1
tar -zxvf ./eclipse-cpp-2024-03-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
rm -f ./eclipse-cpp-2024-03-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 \
+8 −3
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ set -vx
echo -e "*****************************\n* Checkout mec_devel sources\n*****************************\n"
mkdir -p ${HOME}/dev && cd ${HOME}/dev || exit 1

git clone --recurse-submodules --branch devel --single-branch https://forge.etsi.org/rep/mec/gs032p3-ttcn-test-suite.git mec_devel
git clone --recurse-submodules --branch TTF_T027 https://forge.etsi.org/rep/mec/gs032p3-ttcn-test-suite.git mec_devel
cd ${HOME}/dev/mec_devel/titan-test-system-framework
git checkout devel
cd ${HOME}/dev/mec_devel/ttcn
@@ -19,8 +19,13 @@ ln -sf ${HOME}/dev/mec_devel/scripts/devenv.bash.ubuntu ${HOME}/devenv.bash

echo -e "*****************************\n* Apply patched \n*****************************\n"
cd ${HOME}/dev/mec_devel
cp ./ttcn/patch_lib_common_titan/module.mk ./ttcn/LibCommon/
cp ./ttcn/patch_lib_common_titan/*.ttcn ./ttcn/LibCommon/ttcn

cd ./ttcn/LibCommon
ln -sf  ${HOME}/dev/mec_devel/ttcn/patch_lib_common_titan/module.mk module.mk
cd -
cd ./titan-test-system-framework/ttcn/LibHttp
ln -sf module_mec.mk module.mk
cd -

echo -e "*****************************\n* Build Mec test suite\n*****************************\n"
cd ${HOME}/dev/mec_devel