aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/race_test.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/testutil: add packageDmitry Vyukov2021-12-211-24/+0
| | | | | | | | Add package with RaceEnabled const that can be used in test to skip long tests in race mode. Switch existing tests to use the new package. Update #2886
* pkg: update generated files to go 1.17Alexey Kardashevskiy2021-07-071-0/+1
| | | | | | | | | | | "make generate" produces this diff when go 1.17 (go1.17-c95464f0ea3f==upstream) is used. Seems compatible with >=1.16. https://github.com/golang/go/commit/4d2d89ff42ca documents the syntax. https://github.com/golang/go/commit/eeadce2d8713 enforces "ignore" for unsatisfiable tags hence the pkg/csource/gen.go change. Signed-off-by: Alexey Kardashevskiy <aik@linux.ibm.com>
* pkg/csource: fix test exit codeDmitry Vyukov2018-05-071-1/+1
|
* pkg/csource: skip tests under race detectorDmitry Vyukov2018-05-071-0/+23
csource tests consume too much memory under race detector (>1GB), and periodically timeout on Travis. So we skip them.