0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-23 17:31:55 +00:00

bird: first test should be running (saving the tables)

This commit is contained in:
Matous Holinka 2019-11-06 10:28:47 +01:00
parent 8742d5a611
commit 01d0107cff

View File

@ -9,7 +9,6 @@ stages:
# - image # - image
- build - build
- get_nl - get_nl
- nl_prep
# .docker: &docker_build # .docker: &docker_build
# stage: image # stage: image
@ -305,29 +304,19 @@ cloning_netlab:
tags: tags:
- birdlab - birdlab
script: script:
- echo 'Cleaning the directories'
- cd ../ - cd ../
- rm -r bird-tools - rm -r bird-tools
- cd bird - cd bird
- autoreconf - autoreconf
- ./configure CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" - ./configure CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
# Detect which make is available
- MAKE=make - MAKE=make
- which gmake 2>/dev/null >/dev/null && MAKE=gmake - which gmake 2>/dev/null >/dev/null && MAKE=gmake
- $MAKE - $MAKE
# Run tests if they are available
- $MAKE check - $MAKE check
- cd ../ - cd ../
- echo 'Cloning Netlab from repository'
- git clone https://gitlab.labs.nic.cz/labs/bird-tools --branch oz-test-base - git clone https://gitlab.labs.nic.cz/labs/bird-tools --branch oz-test-base
- ls -l - ls -l
- cd bird - cd bird
- mv bird birdc ../bird-tools/netlab-int/common - mv bird birdc ../bird-tools/netlab-int/common
- echo 'Done!' - cd ../bird-tools/netlab-int
- ./runtest -m save cf-ospf
preparing_netlab:
stage: nl_prep
tags:
- birdlab
script:
- echo 'Preparing netlab'