File: README.md

package info (click to toggle)
weakforced 3.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,196 kB
  • sloc: cpp: 20,397; python: 2,002; sh: 700; makefile: 432
file content (38 lines) | stat: -rw-r--r-- 986 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
README for Weakforced Regression Tests
------

Regression Tests are now designed to be run inside the regression docker container. This has necessitated some changes in the server names and port numbers.

Attempting to run the regression tests manually with ./runtests will fail. The correct way to run the regression tests is with "make regression" in the docker directory, which will also run various other tests including distchecks.

Running a specific test
------

Run the following in docker directory to start the test environment:

```
make build_image start
```

Start bash in regression environment:

```
docker-compose exec regression bash
```

In the bash session, run:

```
autoreconf -v -i -f
./configure --enable-trackalert --enable-systemd --disable-docker \
  --enable-unit-tests --enable-asan --enable-ubsan \
  --disable-silent-rules CC=clang CXX=clang++
make -j
```

Now you can run only `test_Basics.py` with:

```
cd regression-tests
./runtests test_Basics.py
```