]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Enable virtual time in UML
authorJouni Malinen <jouni@codeaurora.org>
Mon, 6 May 2019 17:29:16 +0000 (20:29 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 6 May 2019 17:29:16 +0000 (20:29 +0300)
This speeds up test execution significantly by removing unnecessary
waiting for things to happen since the kernel log is allowed to jump
forward whenever there is nothing to do.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/vm/vm-run.sh

index 1cd418009c882ba17d9b68ae9133be4c43dcf854..dcca61b631d43e2bd6e77cfc111a222f6a7a6676 100755 (executable)
@@ -167,6 +167,7 @@ if [ -z $KVM ]; then
        $KERNEL \
             mem=${MEMORY}M \
             LOGDIR=$LOGDIR \
+            virtual-time \
             $A \
             root=none hostfs=/ rootfstype=hostfs rootflags=/ \
             ssl0=fd:0,fd:1 \