summaryrefslogtreecommitdiff
path: root/ci/test.sh
Commit message (Collapse)AuthorAgeFilesLines
* tests: PROXY_URL is more accurately PROXY_HOSTEdward Thomson2018-11-281-2/+2
| | | | | | | Change the `GITTEST_REMOTE_PROXY_URL` environment variable to be `GITTEST_REMOTE_PROXY_HOST`, since it is a host:port combination, not an actual URL. (We cannot use a URL here since we may want to include the username:password combination in the constructed URL.)
* Merge pull request #4860 from tiennou/ci/macos-leaksEdward Thomson2018-10-311-1/+1
|\ | | | | CI: Fix macOS leak detection
| * tests: use CLAR_AT_EXIT to check for leaks on macOSEtienne Samson2018-10-301-1/+1
| |
| * clar: provide a way to run some shell before exitingEtienne Samson2018-10-301-1/+1
| |
| * ci: redirect the malloc debugging output to /dev/nullEtienne Samson2018-10-231-1/+1
| |
* | ci: fail if requested test name is not found (unix)Edward Thomson2018-10-261-0/+6
| | | | | | | | | | | | POSIX: the CMakeLists.txt configures the test names; when we query ctest for the test command-line to run, fail if the tests are not found.
* | ci: bind specifically to localhost for proxyEdward Thomson2018-10-211-2/+2
|/ | | | | | Bind the proxy specifically to 127.0.0.1 instead of all addresses. This is not strictly necessary for operations, but having a potentially open proxy on a network is not a good idea.
* ci: don't stop on failureethomson/ci-refactorEdward Thomson2018-09-291-7/+13
| | | | Don't stop on test failures; run all the tests, even when a test fails.
* ci: write test result XMLethomson/clar-xmlEdward Thomson2018-09-111-3/+6
| | | | Add the clar flags to produce JUnit-style XML output before invocation.
* ci: only run the exact named testEdward Thomson2018-09-101-1/+1
| | | | | | | Our CI test system invokes ctest with the name of the given tests it wishes to invoke. ctest (with the `-R` flag) treats this name as a regular expression. Provide anchors in the regular expression to avoid matching additional tests in this search.
* ci: fix location of fuzzer corpora on VSTSPatrick Steinhardt2018-08-031-1/+1
| | | | | | When using VSTS-based builds, we are in a different location than when doing Travis builds. Due to this, the relative path to our fuzzer corpora does not work on VSTS. Fix it by using `${SOURCE_DIR}` instead.
* fuzzers: rename "fuzz" directory to match our stylePatrick Steinhardt2018-08-031-3/+2
| | | | | | | | | | | Our layout uses names like "examples" or "tests" which is why the "fuzz" directory doesn't really fit in here. Rename the directory to be called "fuzzers" instead. Furthermore, we rename the fuzzer "fuzz_packfile_raw" to "packfile_raw_fuzzer", which is also in line with the already existing fuzzer at google/oss-fuzz. While at it, rename the "packfile_raw" fuzzer to instead just be called "packfile" fuzzer.
* fuzzers: add build support and instructionslhchavez2018-08-031-0/+12
| | | | | | This change adds support for building a fuzz target for exercising the packfile parser, as well as documentation. It also runs the fuzzers in Travis to avoid regressions.
* ci: dissociate test from leaks processEdward Thomson2018-07-261-2/+1
| | | | | | The leaks process is not good about handling children. Ensure that its child is `nohup`ed so that the grandparent shell won't wait for it to exit.
* ci: some additional debuggingEdward Thomson2018-07-261-0/+8
|
* ci: xcode leaks leak-checkingEdward Thomson2018-07-261-0/+4
|
* ci: valgrind leak-checkingEdward Thomson2018-07-261-7/+26
|
* ci: improved flexibility for citest.shEdward Thomson2018-07-261-67/+125
| | | | Refactor citest.sh to enable local testing by developers.
* ci: refactor unix ci build/test scriptsEdward Thomson2018-07-261-0/+101