Commit 2902ad03 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][docker_execution] Sync test prefix with newly built algorithms

parent b0a70a6a
......@@ -29,6 +29,7 @@
# Tests for experiment execution within Docker containers
import os
import subprocess
from ..dock import Host
from ..execution import DockerExecutor
......@@ -40,6 +41,7 @@ from .utils import skipif
from .test_execution import BaseExecutionMixIn
from . import network_name
from . import prefix_folder
from . import DOCKER_NETWORK_TEST_ENABLED
BUILDER_IMAGE = "docker.idiap.ch/beat/beat.env.client:2.0.0r0"
......@@ -90,6 +92,14 @@ class TestDockerExecution(BaseExecutionMixIn):
self.host.rm(builder_container)
assert status == 0
# Update the tmp prefix with the latest content
subprocess.check_call(['rsync',
'-arz',
'--exclude="*"',
'--include="*.so"',
os.path.join(test_folder, 'prefix'),
prefix_folder])
@slow
@skipif(not DOCKER_NETWORK_TEST_ENABLED, "Network test disabled")
......
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