Debian Codegraph @

debian/tests/unit-test

raw
1 #!/bin/sh
2
3 set -e
4
5 exec 2>&1
6
7 TEST_LIST="test1 test2 test4 testReplaceExisting test_cast test_charcase test_compare test_deep_copy test_double_serializer test_float test_int_add test_json_pointer test_locale test_null test_parse test_parse_int64 test_printbuf test_set_serializer test_set_value test_visit test_object_iterator"
8
9 mkdir build
10 cd build
11 cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.10 ..
12 make
13 rm -f libjson-c.so.*.*.*
14 #ln -s /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/libjson-c.so.*.*.* .
15 for test in $TEST_LIST; do ./tests/$test > /dev/null; done