test: don't download files in tests

Remove automatic download and compilation of clknetsim. If clknetsim is
not found, skip all simulation tests, but don't fail "make check".
Also, respect the CLKNETSIM_PATH environment variable.
This commit is contained in:
Miroslav Lichvar
2016-02-05 10:47:16 +01:00
parent cf5b344ea8
commit 8b676502de
3 changed files with 9 additions and 28 deletions

View File

@@ -1,12 +1,11 @@
This is a collection of simulation tests. They use clknetsim to simulate
multiple systems connected in a network. It's available at
This is a collection of simulation tests using the clknetsim simulator
(supported on Linux only).
https://github.com/mlichvar/clknetsim
If this directory doesn't have a clknetsim subdirectory, a known working
revision will be downloaded and compiled automatically.
Currently it runs only on Linux.
The CLKNETSIM_PATH environment variable should point to the directory where
clknetsim was downloaded and compiled. If the variable is not set, the tests
will look for clknetsim in ./clknetsim in the current directory.
The tests are written in bash and they can be run directly. The ./run script
runs all tests.