mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00

Using a file(GLOB) to find all the test files in a directory is an easy hack to get things started, but has some drawbacks. Namely, if you add a test, it won't be found again without re-running CMake. `ninja` seems to do this automatically, but it would be nice to one day stop seeing it rechecking our globbed directories.
75 lines
1.6 KiB
CMake
75 lines
1.6 KiB
CMake
set(AK_TEST_SOURCES
|
|
TestFixedPoint.cpp
|
|
TestAllOf.cpp
|
|
TestAnyOf.cpp
|
|
TestArray.cpp
|
|
TestAtomic.cpp
|
|
TestBadge.cpp
|
|
TestBase64.cpp
|
|
TestBinaryHeap.cpp
|
|
TestBinarySearch.cpp
|
|
TestBitCast.cpp
|
|
TestBitmap.cpp
|
|
TestByteBuffer.cpp
|
|
TestCharacterTypes.cpp
|
|
TestChecked.cpp
|
|
TestCircularDeque.cpp
|
|
TestCircularDuplexStream.cpp
|
|
TestCircularQueue.cpp
|
|
TestComplex.cpp
|
|
TestDistinctNumeric.cpp
|
|
TestDoublyLinkedList.cpp
|
|
TestEndian.cpp
|
|
TestEnumBits.cpp
|
|
TestFind.cpp
|
|
TestFixedArray.cpp
|
|
TestFormat.cpp
|
|
TestGenericLexer.cpp
|
|
TestHashFunctions.cpp
|
|
TestHashMap.cpp
|
|
TestHashTable.cpp
|
|
TestHex.cpp
|
|
TestIPv4Address.cpp
|
|
TestIndexSequence.cpp
|
|
TestIntrusiveList.cpp
|
|
TestIntrusiveRedBlackTree.cpp
|
|
TestJSON.cpp
|
|
TestLEB128.cpp
|
|
TestLexicalPath.cpp
|
|
TestMACAddress.cpp
|
|
TestMemMem.cpp
|
|
TestMemoryStream.cpp
|
|
TestNeverDestroyed.cpp
|
|
TestNonnullRefPtr.cpp
|
|
TestNumberFormat.cpp
|
|
TestOptional.cpp
|
|
TestQueue.cpp
|
|
TestQuickSort.cpp
|
|
TestRedBlackTree.cpp
|
|
TestRefPtr.cpp
|
|
TestSinglyLinkedList.cpp
|
|
TestSourceGenerator.cpp
|
|
TestSourceLocation.cpp
|
|
TestSpan.cpp
|
|
TestStack.cpp
|
|
TestStdLibExtras.cpp
|
|
TestString.cpp
|
|
TestStringUtils.cpp
|
|
TestStringView.cpp
|
|
TestTime.cpp
|
|
TestTrie.cpp
|
|
TestTuple.cpp
|
|
TestTypeTraits.cpp
|
|
TestTypedTransfer.cpp
|
|
TestUFixedBigInt.cpp
|
|
TestURL.cpp
|
|
TestUtf16.cpp
|
|
TestUtf8.cpp
|
|
TestVariant.cpp
|
|
TestVector.cpp
|
|
TestWeakPtr.cpp
|
|
)
|
|
|
|
foreach(source IN LISTS AK_TEST_SOURCES)
|
|
serenity_test("${source}" AK)
|
|
endforeach()
|