Skip to content
Snippets Groups Projects
Commit dcd4c1ab authored by Jakob Kaiser's avatar Jakob Kaiser
Browse files

chore: wscript rename 'DLSvx_HARDWARE_AVAILABLE' to 'BBS_HARDWARE_AVAILABLE'

Change-Id: I51a1bf04e2166a2dfbb2b489dbeb0d54baf0cab1
parent a40c5792
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ def configure(cfg): ...@@ -34,7 +34,7 @@ def configure(cfg):
def build(bld): def build(bld):
bld.env.DLSvx_HARDWARE_AVAILABLE = "SLURM_HWDB_YAML" in os.environ bld.env.BBS_HARDWARE_AVAILABLE = "SLURM_HWDB_YAML" in os.environ
bld.env.DLSvx_SIM_AVAILABLE = "FLANGE_SIMULATION_RCF_PORT" in os.environ bld.env.DLSvx_SIM_AVAILABLE = "FLANGE_SIMULATION_RCF_PORT" in os.environ
pyhxcomm_defines = [ pyhxcomm_defines = [
...@@ -88,7 +88,7 @@ def build(bld): ...@@ -88,7 +88,7 @@ def build(bld):
pythonpath=['tests'], pythonpath=['tests'],
pylint_config=join(get_toplevel_path(), "code-format", "pylintrc"), pylint_config=join(get_toplevel_path(), "code-format", "pylintrc"),
pycodestyle_config=join(get_toplevel_path(), "code-format", "pycodestyle"), pycodestyle_config=join(get_toplevel_path(), "code-format", "pycodestyle"),
skip_run=not (bld.env.DLSvx_SIM_AVAILABLE or bld.env.DLSvx_HARDWARE_AVAILABLE), skip_run=not (bld.env.DLSvx_SIM_AVAILABLE or bld.env.BBS_HARDWARE_AVAILABLE),
test_timeout=120, test_timeout=120,
) )
......
...@@ -153,7 +153,7 @@ def build_loopbackconnection_test(bld): ...@@ -153,7 +153,7 @@ def build_loopbackconnection_test(bld):
def build(bld): def build(bld):
bld.env.DLSvx_HARDWARE_AVAILABLE = "SLURM_HWDB_YAML" in os.environ bld.env.BBS_HARDWARE_AVAILABLE = "SLURM_HWDB_YAML" in os.environ
bld.env.DLSvx_SIM_AVAILABLE = "FLANGE_SIMULATION_RCF_PORT" in os.environ bld.env.DLSvx_SIM_AVAILABLE = "FLANGE_SIMULATION_RCF_PORT" in os.environ
use_munge = ["MUNGE"] if bld.env.build_with_munge else [] use_munge = ["MUNGE"] if bld.env.build_with_munge else []
...@@ -259,7 +259,7 @@ def build(bld): ...@@ -259,7 +259,7 @@ def build(bld):
target = 'hxcomm_backendtest', target = 'hxcomm_backendtest',
features = 'gtest cxx cxxprogram', features = 'gtest cxx cxxprogram',
source = bld.path.ant_glob('tests/hw/hxcomm/test-*.cpp'), source = bld.path.ant_glob('tests/hw/hxcomm/test-*.cpp'),
skip_run = not (bld.env.DLSvx_HARDWARE_AVAILABLE or bld.env.DLSvx_SIM_AVAILABLE), skip_run = not (bld.env.BBS_HARDWARE_AVAILABLE or bld.env.DLSvx_SIM_AVAILABLE),
test_main = 'tests/common/src/main.cpp', test_main = 'tests/common/src/main.cpp',
use = ['hxcomm', 'hxcomm_tests_helper', 'BOOST4HXCOMMTOOLS'], use = ['hxcomm', 'hxcomm_tests_helper', 'BOOST4HXCOMMTOOLS'],
test_timeout = 120, test_timeout = 120,
......
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