Browse Source

Some more doc updates.

Failed to run vmtests - those seem to be broken more fundamentally...
waf
Ben Niemann 3 years ago
parent
commit
a13e0f8431
  1. 2
      README.md
  2. 10
      docs/dev/vmtests.md
  3. 13
      noisidev/vmtests/ubuntu.py

2
README.md

@ -60,6 +60,6 @@ You can either run it from the build directory:
bin/noisicaä
Or install it to `/usr/local`.
Or install it to `/usr/local`:
sudo ./waf install

10
docs/dev/vmtests.md

@ -17,8 +17,7 @@ distribution, build noisicaä from source and then run the test suite.
Before you can run test vmtests, you might have to install some additional packages:
```bash
pip install $(./listdeps --pip --vmtests)
sudo apt install $(./listdeps --system --vmtests)
./waf configure --enable-vmtests --download --install-system-packages
```
The VMs are stored in a `vmtests` directory. That directory will contain some large files, so if you
@ -34,7 +33,7 @@ ln -s /path/to/vmtests vmtests
## Running the tests
```bash
python -m noisidev.runvmtests
venv/bin/python -m noisidev.runvmtests
```
* Each distribution runs in a separate VM.
@ -44,7 +43,7 @@ python -m noisidev.runvmtests
* When no argument is given, tests for all supported distributions are run. You can restrict the
tests by listing the desired distributions as arguments:
```bash
python -m noisidev.runvmtests ubuntu-16.04
venv/bin/python -m noisidev.runvmtests ubuntu-16.04
```
* Once a the distribution has been installed in a VM, a snapshot called 'clean' is created. On
@ -59,7 +58,7 @@ If inspecting the output is not sufficient to pin down the problem, you can rest
state as it was after the test finished:
```bash
python -m noisidev.runvmtests --just-start $DISTNAME
venv/bin/python -m noisidev.runvmtests --just-start $DISTNAME
```
Login as user `testuser` with passwork `123`, change into the `noiscaa` directory and active the
@ -67,5 +66,4 @@ virtuenenv:
``` bash
cd noisicaa/
. ENV/bin/activate
```

13
noisidev/vmtests/ubuntu.py

@ -196,16 +196,11 @@ fi
cd noisicaa/
python3 -m venv ENV
. ENV/bin/activate
./waf configure
./waf build
sudo apt-get -q -y install $(./listdeps --system --build)
pip install --upgrade pip wheel
pip install $(./listdeps --pip --build)
python3 setup.py build
sudo apt-get -q -y install $(./listdeps --system --dev)
pip install $(./listdeps --pip --dev)
./waf configure --enable-tests
./waf build
bin/runtests --gdb=false
'''

Loading…
Cancel
Save