Skip to content
Snippets Groups Projects
Commit 9d71d835 authored by Nico's avatar Nico
Browse files

Merge branch 'ci' into 'master'

Ci

See merge request !101
parents 391b8d53 a56315a6
No related branches found
No related tags found
No related merge requests found
image: rootproject/root-ubuntu16:6.10
stages:
- build
job1:
stage: build
script:
- ./install.sh build
......@@ -8,10 +8,10 @@
#include "EQ_OneParameter.hxx" //Load the include for Neural Network Equivalence Model (PWRMOX)
TEST ( IV, GetSize ) {
const int n=10;
int n=10;
// génération des données
IsotopicVector iv;
IsotopicVector iv = IsotopicVector();
for ( unsigned int i = 0 ; i < n ; ++i )
{
ZAI z(i,i+1,i+2);
......
......@@ -4,7 +4,7 @@
#include "Fleet/test_PWR_UOX_MOX.inl"
int main(int argc,char * argv[]) {
::testing::InitGoogleTest(&argc,argv);
testing::InitGoogleTest(&argc,argv);
return RUN_ALL_TESTS();
}
......
......@@ -105,8 +105,7 @@ done
# Test is gtest is already there or if we have an internet connection
if [ "${GTEST}" = true ]; then
echo -e "GET http://google.com HTTP/1.0\n\n" | nc google.com 80 > /dev/null 2>&1
if [ ! $? -eq 0 ] && [ ! -d "bld/GTest/gtest/src/gtest" ]; then
if ! ping -c 1 google.com >> /dev/null 2>&1; then
echo "An internet connection is required to compile the test"
exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment