Running gmp bugs
After running the container you need to follow the following
steps to prepare SOSRepair for running:
- Copy
makeout,compile.sh,test.shandtests-listto the container's/experiment/. - Copy
settings.pyto the container's/opt/sosrepair/sosrepair. - 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 --coverage"
make clean
make
- Run
/opt/sosrepair/prepare/setup.sh. - Set proper permissions by running
sudo chmod -R 777 /opt/sosrepair/sosrepair. - Setup environment variables:
export PYTHONPATH="/opt/sosrepair/bindings:${PYTHONPATH}"
export CPATH=":/opt/sosrepair/include"
export PATH="/opt/sosrepair/bin:$PATH"