Skip to content

Commit

Permalink
Forcibly rebuild C code for socket tests
Browse files Browse the repository at this point in the history
Otherwise the tests will use object files built for libvchan-xen, which
does not work.
  • Loading branch information
DemiMarie committed Apr 26, 2023
1 parent 82483ef commit 975a980
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ fi
if pkg-config vchan-socket; then
export CFLAGS="--coverage -DCOVERAGE"
export LDFLAGS=--coverage
make -C libqrexec BACKEND_VMM=socket
make -C agent BACKEND_VMM=socket
make -C daemon BACKEND_VMM=socket
make -C libqrexec BACKEND_VMM=socket clean all
make -C agent BACKEND_VMM=socket clean all
make -C daemon BACKEND_VMM=socket clean all
else
echo "libvchan-socket not available, skipping socket tests"
export SKIP_SOCKET_TESTS=1
Expand Down

0 comments on commit 975a980

Please sign in to comment.