mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
Relocate qeneth and 9pm submodules to test/
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
committed by
Tobias Waldekranz
parent
531bea0523
commit
e644d87c31
+2
-2
@@ -2,8 +2,8 @@
|
||||
path = buildroot
|
||||
url = ../buildroot.git
|
||||
[submodule "9pm"]
|
||||
path = 9pm
|
||||
path = test/9pm
|
||||
url = ../9pm
|
||||
[submodule "qeneth"]
|
||||
path = qeneth
|
||||
path = test/qeneth
|
||||
url = ../qeneth.git
|
||||
|
||||
@@ -14,14 +14,14 @@ test-env-run = $(call test-env,-C -t $(BINARIES_DIR)/qemu.dot,$(1))
|
||||
|
||||
test-qeneth:
|
||||
$(call test-env-qeneth,\
|
||||
$(BR2_EXTERNAL_INFIX_PATH)/9pm/9pm.py \
|
||||
$(BR2_EXTERNAL_INFIX_PATH)/test/9pm/9pm.py \
|
||||
$(INFIX_TESTS))
|
||||
test-qeneth-sh:
|
||||
$(call test-env-qeneth,/bin/sh)
|
||||
|
||||
test-run: | ~/.infix-test-venv
|
||||
$(call test-env-run,\
|
||||
$(BR2_EXTERNAL_INFIX_PATH)/9pm/9pm.py \
|
||||
$(BR2_EXTERNAL_INFIX_PATH)/test/9pm/9pm.py \
|
||||
$(INFIX_TESTS))
|
||||
test-run-sh: | ~/.infix-test-venv
|
||||
$(call test-env-run,/bin/sh)
|
||||
|
||||
@@ -40,7 +40,7 @@ start_topology()
|
||||
cat <<EOF >"$envdir/bin/qeneth"
|
||||
#!/bin/sh
|
||||
set -x
|
||||
cd $envdir/qeneth && exec $ixdir/qeneth/qeneth "\$@"
|
||||
cd $senvdir/qeneth && exec $testdir/qeneth/qeneth "\$@"
|
||||
EOF
|
||||
chmod +x "$envdir/bin/qeneth"
|
||||
}
|
||||
@@ -93,7 +93,7 @@ testdir=$(dirname $(readlink -f "$0"))
|
||||
ixdir=$(readlink -f "$testdir/..")
|
||||
logdir=$(readlink -f "$testdir/.log")
|
||||
envdir="$HOME/.infix-test-venv"
|
||||
qeneth="$ixdir/qeneth/qeneth"
|
||||
qeneth="$testdir/qeneth/qeneth"
|
||||
|
||||
# Global options
|
||||
containerize=yes
|
||||
|
||||
Reference in New Issue
Block a user