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
Markus Pilman
ce318c18fa
Update cmake/AddFdbTest.cmake
...
Co-Authored-By: Alvin Moore <36203359+AlvinMooreSr@users.noreply.github.com>
2020-03-27 09:36:46 -07:00
Markus Pilman
893a38008c
Update cmake/AddFdbTest.cmake
...
Co-Authored-By: Alvin Moore <36203359+AlvinMooreSr@users.noreply.github.com>
2020-03-27 09:36:38 -07:00
Markus Pilman
55e5d5b4d9
Update cmake/AddFdbTest.cmake
...
Co-Authored-By: Alvin Moore <36203359+AlvinMooreSr@users.noreply.github.com>
2020-03-27 09:36:30 -07:00
Markus Pilman
def7f39328
Update cmake/AddFdbTest.cmake
...
Co-Authored-By: Alvin Moore <36203359+AlvinMooreSr@users.noreply.github.com>
2020-03-27 09:36:08 -07:00
Markus Pilman
ac9f79116e
Build bindingtester
2020-03-26 16:01:58 -07:00
Markus Pilman
99e4bb92c0
Generate valgrind tar file for Joshua
2020-03-26 14:02:21 -07:00
Markus Pilman
c095d26830
include joshua scripts
2020-03-26 13:52:18 -07:00
Markus Pilman
74f21c831c
fixed correctness tar name
2020-03-26 13:45:12 -07:00
mpilman
7fe56ccb00
always build correctnes package
2020-03-25 18:01:08 -07:00
mpilman
ce6c4cb8d8
Build and package TestHarness
2020-03-25 17:36:47 -07:00
Markus Pilman
653b180004
make it work if external dir has trailing /
2019-11-08 23:13:32 +00:00
Markus Pilman
94791fbd12
remove this functionality from Windows
...
Windows file paths are a pain to work with. Currently I don't know
of anyone who needs this feature on Windows - so I just remove it there
2019-11-08 22:21:47 +00:00
Markus Pilman
01c2676152
Add feature to add external dependencies to test package
2019-11-08 22:15:38 +00:00
Markus Pilman
d0d036b3a7
Add cmake command to package tests
2019-11-08 21:39:21 +00:00
negoyal
fe53b5e7a7
Add a parameter to enable/disable valgrind for ctest.
2019-08-15 11:56:34 -07:00
mpilman
1ac2d01b03
Merge remote-tracking branch 'upstream/master' into flatbuffers-fixes2
2019-07-18 09:50:08 -07:00
dyoungworth
baf8e020d1
use one index to track tests in ctest
2019-07-15 14:52:24 -07:00
Andrew Noyes
274cb40eb8
Run tests under valgrind when USE_VALGRIND
2019-07-11 23:03:31 -07:00
dyoungworth
62d7ee9424
Fix ctests so each restart test has a seed unique to the first test
...
and any other test
2019-07-11 09:56:51 -07:00
Alex Miller
30b27349a7
Fix addFdbTest
2019-06-25 21:57:09 -07:00
sramamoorthy
8370871e4c
stale RESTORE option related code removed
2019-05-28 22:07:46 -07:00
sramamoorthy
281c785f94
'--restoring' cmd line arg removed for fdbserver
...
'--restoring' command line option was introduced to indicate
simulated fdbserver to restore from snapshot and restart the cluster.
As part of this change that option is removed and restore
information is stored in the restartInfo.ini.
2019-05-28 22:07:46 -07:00
sramamoorthy
4bc4c615da
exec op to all tlog, restore change in test &other
...
- exec operation to go to all the TLogs
- minor bug fix in tlog
- restore implementation for the simulator
- restore snap UID to be stored in restartInfo.ini
- test cases added
- indentation and trace file fixes
2019-05-28 22:07:46 -07:00
Andrew Noyes
1292f5c59a
Add TEST_LOG_FORMAT to cmake
2019-02-21 14:36:01 -08:00
mpilman
b41611694f
Fix weird cmake behavior with cached variables
2019-02-19 22:06:45 -08:00
mpilman
1395da9a8f
keep test IDs the same over several cmake runs
...
CACHE INTRNAL was a bad choice for setting this
variable as it will keep increasing whenever cmake
runs. So we should use PARENT_SCOPE instead
2019-02-19 22:06:45 -08:00
mpilman
e8af6512ec
Generate distinct pseudo-random number for each test
...
Fixes #1161
2019-02-19 22:06:45 -08:00
mpilman
4266429dcf
Fixed python dependency
2019-02-15 00:01:42 -08:00
mpilman
58964af7e1
ctest improvements - #1058
...
- A set of CMake variables controls whether to keep
the simfdb directory and the traces and whether we
want to aggregate the traces into a single file
- Test labels now contain the directory they are in
so that one can now run `ctest -R fast/`
- A different binary can be used for restart tests. CMake
will automatically look for an installed fdb and use that
by default. If none is found, it will use the built one
but it will also print a warning
- CMake will throw an error if there are any text files in
the tests directory that are not associated with a test.
- Moved testing from fdbserver/CMakeLists.txt to
tests/CMakeLists.txt
- Moved fdb testing functions to its own cmake module
2019-01-22 14:34:51 -08:00