osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40416?usp=email )
Change subject: testenv: run "make deps" every time
......................................................................
testenv: run "make deps" every time
The previous logic of not always running "make deps" was useful when
"make deps" would take a long time to complete even if there were no
changes. But this has been fixed in c7e40d6a ("Makefile: avoid fetching
deps if not needed"). Run it every time now in order to fix that deps
are not updated after deps/Makefile gets changed.
Change-Id: I02668530ce36c51a1c641fb816464c9c8e6ded9e
---
M _testenv/testenv/testsuite.py
1 file changed, 1 insertion(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/16/40416/1
diff --git a/_testenv/testenv/testsuite.py b/_testenv/testenv/testsuite.py
index 5ddbf3e..6d0335e 100644
--- a/_testenv/testenv/testsuite.py
+++ b/_testenv/testenv/testsuite.py
@@ -19,14 +19,8 @@
def update_deps():
- deps_marker = os.path.join(testenv.args.cache, "ttcn3-deps-updated")
- if os.path.exists(deps_marker):
- return
-
logging.info("Updating osmo-ttcn3-hacks/deps")
- deps_dir = os.path.join(ttcn3_hacks_dir, "deps")
- testenv.cmd.run(["make", "-C", deps_dir])
- testenv.cmd.run(["touch", deps_marker])
+ testenv.cmd.run(["make", "deps"], cwd=ttcn3_hacks_dir)
def prepare_testsuite_dir():
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40416?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I02668530ce36c51a1c641fb816464c9c8e6ded9e
Gerrit-Change-Number: 40416
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>