test list
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
## Running `lighttpd` bugs
|
||||
|
||||
After running the container you need to follow the following
|
||||
steps to prepare `SOSRepair` for running:
|
||||
|
||||
1. Copy `makeout`, `compile.sh`, `test.sh` and `tests-list` to
|
||||
the container's `/experiment/`.
|
||||
2. Copy `settings.py` to the container's `/opt/sosrepair/sosrepair`.
|
||||
3. In the container, reconfigure the project with coverage flags:
|
||||
```
|
||||
cd /experiment/src
|
||||
./configure "CFLAGS=-fprofile-arcs -ftest-coverage" "CXXFLAGS=-fprofile-arcs -ftest-coverage" "LDFLAGS=-lgcov" --with-ldap --with-bzip2 --with-openssl --with-gdbm --with-memcache --with-webdav-props --with-webdav-locks
|
||||
make clean
|
||||
make
|
||||
```
|
||||
4. Run `/opt/sosrepair/prepare/setup.sh`.
|
||||
5. Set proper permissions by running `sudo chmod -R 777 /opt/sosrepair/sosrepair`.
|
||||
6. Setup environment variables:
|
||||
```
|
||||
export PYTHONPATH="/opt/sosrepair/bindings:${PYTHONPATH}"
|
||||
export CPATH=":/opt/sosrepair/include"
|
||||
export PATH="/opt/sosrepair/bin:$PATH"
|
||||
```
|
||||
|
||||
Pay attention that `lighttpd` tests occupy a single port. Therefore, you can only
|
||||
run on a single bug at a time if you're sharing ports. Otherwise, the tests will
|
||||
fail.
|
||||
Reference in New Issue
Block a user