File: unittest.sh

package info (click to toggle)
qtox 1.17.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 25,628 kB
  • sloc: cpp: 40,089; xml: 10,393; sh: 2,401; ansic: 1,520; objc: 208; perl: 28; makefile: 13
file content (16 lines) | stat: -rwxr-xr-x 369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e

mkdir build
cd build
cmake -Wno-dev ..
for i in \
    test_contactid test_dbschema test_friendmessagedispatcher \
    test_groupmessagedispatcher test_messageprocessor test_offlinemsgengine \
    test_paths test_posixsignalnotifier test_sessionchatlog test_textformatter \
    test_toxid test_toxstring; do
  make $i
done
make test
cd ..
rm -rf build