README: update instructions to run the tests.

This commit is contained in:
Juan RP 2014-10-06 12:08:12 +02:00
parent 01781b3b7e
commit d4e720978f

View File

@ -66,10 +66,9 @@ and optionally:
To run the test suite make sure *kyua* is installed and run the following:
```
./configure --enable-tests --enable-debug
make
make DESTDIR=~/XBPS install clean
LD_PRELOAD=~/XBPS/usr/local/lib/libxbps.so.2 PATH=~/XBPS/usr/local/sbin:$PATH kyua test -k ~/XBPS/usr/local/tests/xbps/Kyuafile
$ ./configure --enable-tests --enable-debug
$ make
$ LD_PRELOAD=$PWD/lib/libxbps.so kyua test -k tests/xbps/Kyuafile
```
### Build instructions
@ -77,9 +76,9 @@ LD_PRELOAD=~/XBPS/usr/local/lib/libxbps.so.2 PATH=~/XBPS/usr/local/sbin:$PATH ky
Standard configure script (not generated by GNU autoconf).
```
./configure --prefix=/blah
make -jX
make install
$ ./configure --prefix=/blah
$ make -jX
$ make install
```
By default PREFIX is set `/usr/local` and may be changed by setting `--prefix`