foundationdb/fdbserver
Vishesh Yadav a84026cca5
[testing] Automatically discover unit-test and register as ctest (#11612)
* [testing] Automatically discover unit-test and register as ctest

This patch adds `collect_unit_tests()` to CMake which searches over
the codebase and finds all the unit-tests written using Flow's TEST_CASE
macro and register as ctest.

The test then can be then run using ctest command or directly via Test
Explorer in VSCode.

* Update CMakeLists.txt

* Check failed tests

* Update TestDirectory.py to create more unique directory

* Put the feature behind flag
2024-09-04 11:31:49 -07:00
..
coroimpl Update end year in copyright header 2024-08-02 09:40:11 -07:00
include/fdbserver refactor to use struct rather than tuple for "uncommitedVersions" (#11619) 2024-08-30 14:28:14 -07:00
swift/tests Update end year in copyright header 2024-08-02 09:40:11 -07:00
workloads Make some codeprobes rare (#11607) 2024-08-26 22:33:38 -07:00
AccumulativeChecksumUtil.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
ApplyMetadataMutation.cpp Make some codeprobes rare (#11607) 2024-08-26 22:33:38 -07:00
BackupProgress.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
BackupWorker.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
BlobConnectionProviderTest.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
BlobGranuleServerCommon.actor.cpp Make some codeprobes rare (#11607) 2024-08-26 22:33:38 -07:00
BlobGranuleValidation.actor.cpp Make some codeprobes rare (#11607) 2024-08-26 22:33:38 -07:00
BlobManager.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
BlobManifest.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
BlobMigrator.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
BlobRestoreController.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
BlobWorker.actor.cpp Make some codeprobes rare (#11607) 2024-08-26 22:33:38 -07:00
BulkLoadUtil.actor.cpp Bulk Loading Framework (#11369) 2024-07-23 14:57:28 -07:00
CMakeLists.txt Add code back 2024-07-10 18:52:14 -07:00
ClusterController.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
ClusterRecovery.actor.cpp Make some codeprobes rare (#11607) 2024-08-26 22:33:38 -07:00
CommitProxyServer.actor.cpp Make some codeprobes rare (#11607) 2024-08-26 22:33:38 -07:00
ConfigBroadcaster.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
ConfigDatabaseUnitTests.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
ConfigFollowerInterface.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
ConfigNode.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
ConsistencyScan.actor.cpp More copyright end year updates (#11556) 2024-08-05 14:00:32 -07:00
CoordinatedState.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
Coordination.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
DDRelocationQueue.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
DDShardTracker.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
DDTeamCollection.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
DDTxnProcessor.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
DataDistribution.actor.cpp fix uninitialized bulkloadmode var (#11567) 2024-08-09 16:25:17 -07:00
DiskQueue.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
EncryptKeyProxy.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
FDBExecHelper.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
GlobalTagThrottler.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
GrvProxyServer.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
GrvProxyTagThrottler.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
GrvTransactionRateInfo.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
IConfigConsumer.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
IKeyValueStore.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
IPager.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
KeyValueStoreCompressTestData.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
KeyValueStoreMemory.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
KeyValueStoreRocksDB.actor.cpp Solve RocksDB external timeout error and re-enable RocksDB simulation tests (#11577) 2024-08-16 12:37:18 -07:00
KeyValueStoreSQLite.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
KeyValueStoreShardedRocksDB.actor.cpp Bulk Loading Framework (#11369) 2024-07-23 14:57:28 -07:00
KnobProtectiveGroups.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
LatencyBandConfig.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
LatencyBandsMap.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
LeaderElection.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
LocalConfiguration.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
LogRouter.cpp Fix crash due to invalid ReplyPromise 2024-08-23 17:41:39 -07:00
LogSystem.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
LogSystemConfig.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
LogSystemDiskQueueAdapter.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
LogSystemPeekCursor.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
MetricClient.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
MetricLogger.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
MockGlobalState.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
MoveKeys.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
MutationTracking.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
OldTLogServer_4_6.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
OldTLogServer_6_0.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
OldTLogServer_6_2.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
OnDemandStore.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
PaxosConfigConsumer.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
QuietDatabase.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RESTKmsConnector.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RESTKmsConnectorUtils.cpp More copyright end year updates (#11556) 2024-08-05 14:00:32 -07:00
RESTSimKmsVault.actor.cpp [testing] Automatically discover unit-test and register as ctest (#11612) 2024-09-04 11:31:49 -07:00
Ratekeeper.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RemoteIKeyValueStore.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
ResolutionBalancer.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
Resolver.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
ResolverBug.cpp More copyright end year updates (#11556) 2024-08-05 14:00:32 -07:00
RestoreApplier.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RestoreCommon.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RestoreController.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RestoreLoader.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RestoreRoleCommon.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RestoreUtil.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RestoreWorker.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RestoreWorkerInterface.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RkTagThrottleCollection.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RocksDBCheckpointUtils.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RocksDBLogForwarder.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
RoleLineage.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
ServerCheckpoint.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
ServerThroughputTracker.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
ShardsAffectedByTeamFailure.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
SigStack.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
SimKmsConnector.actor.cpp More copyright end year updates (#11556) 2024-08-05 14:00:32 -07:00
SimpleConfigConsumer.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
SimulatedCluster.actor.cpp Make some codeprobes rare (#11607) 2024-08-26 22:33:38 -07:00
SkipList.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
Status.actor.cpp Fix a cluster controller crash in status server 2024-08-13 20:55:26 -07:00
StorageCache.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
StorageMetrics.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
StorageServerUtils.cpp More copyright end year updates (#11556) 2024-08-05 14:00:32 -07:00
TCInfo.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
TLogServer.actor.cpp refactor to use struct rather than tuple for "uncommitedVersions" (#11619) 2024-08-30 14:28:14 -07:00
TSSMappingUtil.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
TagPartitionedLogSystem.actor.cpp - Address a bug related to computing the ids of log servers (#11623) 2024-09-03 21:15:08 -07:00
TagThrottler.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
TenantCache.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
TestTLogServer.actor.cpp Respond to review comments 2024-08-19 09:56:21 -04:00
TransactionTagCounter.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
UID.swift Add code back 2024-07-10 18:52:14 -07:00
VFSAsync.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
VersionedBTree.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
VersionedBTreeDebug.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
WaitFailure.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
fdbserver.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
masterserver.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
masterserver.swift Add code back 2024-07-10 18:52:14 -07:00
networktest.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
pubsub.actor.cpp Update end year in copyright header 2024-08-02 09:40:11 -07:00
storageserver.actor.cpp Convert ASSERT to error logs. (#11625) 2024-09-04 00:23:36 -07:00
swift_fdbserver_collections.swift Add code back 2024-07-10 18:52:14 -07:00
swift_fdbserver_cxx_swift_value_conformance.swift Update end year in copyright header 2024-08-02 09:40:11 -07:00
swift_fdbserver_stream_support.swift Update end year in copyright header 2024-08-02 09:40:11 -07:00
tester.actor.cpp Make some codeprobes rare (#11607) 2024-08-26 22:33:38 -07:00
worker.actor.cpp Make some codeprobes rare (#11607) 2024-08-26 22:33:38 -07:00