79 Commits

Author SHA1 Message Date
Andrew Noyes
38a97a2e8f Increase default timeout to 5 minutes for add_fdbclient_test 2021-12-22 15:23:05 -08:00
Aaron Molitor
77db63274b use FDB_VERSION in lieu of PROJECT_VERSION or CMAKE_PROJECT_VERSION
write FDB_VERSION to a file to avoid regex golf in other build scripts
2021-11-29 15:11:20 -08:00
Aaron Molitor
08b635d405 rename prerelease_string, replace PRERELEASE with SNAPSHOT 2021-11-29 15:11:20 -08:00
A.J. Beamon
de863d170d Add some tests for timeout behavior with disconnected clusters 2021-09-29 13:16:17 -06:00
Mohamed Oulmahdi
e93f6e323a Fix test paths for on Windows 2021-09-15 16:30:58 -06:00
Pierre Zemb
415bf2afc0
add CMake's option for bindings 2021-08-05 21:55:45 +02:00
Markus Pilman
e1ec5f9aa4 Fix bug where tests wouldn't be added to correctness package 2021-07-27 11:38:25 -06:00
Markus Pilman
91e5498357 disable simulation in ctest by default 2021-07-27 11:17:55 -06:00
Markus Pilman
35f835548d Fix Java integration tests 2021-07-21 13:46:39 -06:00
Chaoguang Lin
5e83281742 Add the option to customize add_fdbclient_test timeout time 2021-07-15 06:55:54 +00:00
Chaoguang Lin
41a9470058 Add comments, remove debugging info 2021-07-14 20:24:16 +00:00
Chaoguang Lin
1e3d3811cc Merge branch 'master' of github.com:apple/foundationdb into extend-fdbclient-test-for-multiple-processes 2021-07-14 20:20:39 +00:00
Chaoguang Lin
368657623a Extend add_fdbclient_test to support multiple processes' cluster 2021-07-14 20:17:12 +00:00
sfc-gh-tclinkenbeard
475abe301c Merge remote-tracking branch 'origin/master' into fix-ub 2021-07-14 10:47:02 -07:00
Russell Sears
c42815f15f
Merge pull request #5127 from vishesh/cherrypick
Making it possible to run a multiple-cluster Java integration test (cherry-pick of #4456 from 6.3)
2021-07-13 09:14:20 -07:00
Scott Fines
d1db0d4013 Making it possible to run a multiple-cluster Java integration test 2021-07-07 10:15:18 -07:00
Markus Pilman
2da4a4ee6f Add target to build unversioned correctness pkgs 2021-06-29 15:40:59 -06:00
Andrew Noyes
c9b06839fc Halt on error in ubsan for ctest tests 2021-06-23 09:25:51 -07:00
Andrew Noyes
75f8725392 Add test for using an external client 2021-02-05 01:24:45 +00:00
Andrew Noyes
0ef44739ea Fix OPEN_FOR_IDE build in preparation for using clang-tidy 2021-01-26 02:04:11 +00:00
Markus Pilman
82fcefcb7b add coverage files of dependencies 2020-10-22 14:51:10 -06:00
Markus Pilman
684171938a set package files through an out variable 2020-10-22 13:53:03 -06:00
Markus Pilman
0906afbbf7 Add coverage file to correctness package 2020-10-22 13:49:53 -06:00
Markus Pilman
c7324761c1 pass the library path to Java tests 2020-09-25 09:38:33 -06:00
Markus Pilman
33d6c412c1 return error code correctly and cmake fixes 2020-09-24 15:58:41 -06:00
Markus Pilman
4c25214085 Add ability to run tests on fdb in ctest 2020-09-24 15:43:05 -06:00
Alex Miller
878254497a Merge remote-tracking branch 'upstream/master' into toml-testspec 2020-07-19 22:18:31 -07:00
Alex Miller
eb7ad07df0 Final cleanups. 2020-07-12 19:53:44 -07:00
Alex Miller
2841efe938 Rewrite most .txt tests into (pretty) .toml files.
This includes build/txt-to-toml.py which did the rewrites, and
can be used to rewrite other no-in-tree test spec files to toml.

I didn't touch status or restarting tests yet.  Restarting will be handled
later.  It turns out that I don't understand how status tests work.
2020-07-12 14:47:40 -07:00
A.J. Beamon
970c6d02be Fix: correctness packages included removed/future tests 2020-06-18 15:59:08 -07:00
A.J. Beamon
f9d96225ab Use add_custom_command instead of file(COPY ...) when copying external files into correctness packages 2020-05-27 11:34:15 -07:00
A.J. Beamon
cb119c76d7
Don't use non-existent variables
Co-authored-by: Markus Pilman <markus.pilman@snowflake.com>
2020-05-27 10:25:13 -07:00
A.J. Beamon
9656542cca Create the bin directory in the correctness staging directories 2020-05-22 10:10:34 -07:00
A.J. Beamon
56e14a25fe Normal correctness package can be built when USE_VALGRIND is on. Correctness and valgrind now stage their files in separate directories. Add CMakeCache.txt to testing packages. 2020-05-21 13:35:54 -07:00
Alex Miller
378951360d
Merge pull request #3086 from alexmiller-apple/ctest-use-crash
Make ctest use --crash when running simulation tests.
2020-05-05 12:49:21 -07:00
Alex Miller
f040694bf0 Make ctest use --crash when running simulation tests.
So that tests with ASSERTion failures don't cause CI to run slow and
produce massive logs.  There's also rarely a reason to continue through
assertion failures.
2020-05-05 03:11:09 -07:00
A.J. Beamon
1bcbb98656
Merge pull request #3040 from vishesh/issue-3029
cmake: Copy generated files to bindingtester bundle
2020-04-30 08:15:13 -07:00
Evan Tschannen
ddb8515b89
Merge pull request #3042 from mpilman/features/filter-correctness-tests
Added possibility to include and exclude tests
2020-04-29 10:43:41 -07:00
Vishesh Yadav
fab4d698dc build: Add JAR and Go's _stacktester to bindingtester bundle 2020-04-29 00:10:18 -07:00
Vishesh Yadav
17221b3e9a cmake: Copy generated files to bindingtester bundle
Source generated by vexilographer were not copied into bindingtester. This patch
manually adds those files in `cmake/AddFdbTest.cmake`, since there doesn't seem
to be any easy way to make bindingtester script know about these generated
files (except copying these files to source directory).

FIXES #3029
2020-04-29 00:10:18 -07:00
Markus Pilman
50ad4a33fe Added possibility to include and exclude tests
Description

Testing
2020-04-28 16:19:04 +00:00
Markus Pilman
3024162196 Don't create package directories in source dir
This fixes one part of #2973
2020-04-22 11:55:26 -07:00
mpilman
7aa030a850 fix weird typo 2020-04-13 21:08:48 -07:00
mpilman
f0ab168368 attempt on fixing make bug 2020-04-13 20:34:09 -07:00
Markus Pilman
e004d912bd Also depend on Joshua scripts 2020-04-10 18:23:29 -07:00
Markus Pilman
4b5fdef976 fix correctness dependencies 2020-04-10 18:16:52 -07:00
Alvin Moore
cbcd0abdc0 Fixed the creation of binding test package 2020-03-31 18:40:25 -07:00
Markus Pilman
644e0ff30b Use full version string in package names 2020-03-27 09:47:37 -07:00
Markus Pilman
0f224ead7a fixed formatting 2020-03-27 09:38:20 -07:00
Markus Pilman
c5191f5c51
Update cmake/AddFdbTest.cmake
Co-Authored-By: Alvin Moore <36203359+AlvinMooreSr@users.noreply.github.com>
2020-03-27 09:36:57 -07:00