test_sources = [ 'ascii.cpp', 'algo/search.cpp', 'algo/sort.cpp', 'alloc/aligned/foreign.cpp', 'alloc/aligned/direct.cpp', 'alloc/easy.cpp', 'alloc/linear.cpp', 'alloc/stack.cpp', 'affine.cpp', 'array/darray.cpp', 'array/sarray.cpp', 'array/parray.cpp', 'backtrace.cpp', 'bezier.cpp', 'bitwise.cpp', 'bool.cpp', 'buffer/simple.cpp', 'cmdopt.cpp', 'cmdopt2.cpp', 'colour.cpp', 'concepts.cpp', 'comparator.cpp', 'coord.cpp', 'debug/fpe.cpp', 'encode/number.cpp', 'encode/base.cpp', 'endian.cpp', 'exe.cpp', 'expected.cpp', 'extent.cpp', 'fixed.cpp', 'float.cpp', 'format/quoted.cpp', 'fs/scoped.cpp', 'fs/tmp.cpp', 'geom/aabb.cpp', 'geom/ellipse.cpp', 'geom/frustum.cpp', 'geom/line.cpp', 'geom/plane.cpp', 'geom/ray.cpp', 'geom/sample/edge.cpp', 'geom/sample/subregion.cpp', 'geom/segment.cpp', 'geom/sphere.cpp', 'hash/buzhash.cpp', 'hash/checksum.cpp', 'hash/crc.cpp', 'hash/fasthash.cpp', 'hash/fnv1a.cpp', 'hash/halfsipmix.cpp', 'hash/murmur.cpp', 'hash/siphash.cpp', 'hash/table.cpp', 'hash/tuple.cpp', 'hash/xxhash.cpp', 'hton.cpp', 'io.cpp', 'introspection.cpp', 'introspection/enum_simple.cpp', 'iterator.cpp', 'job/dispatch.cpp', 'job/queue.cpp', 'kmeans.cpp', 'list/sort.cpp', 'map/fixed.cpp', 'map/multi_fixed.cpp', 'maths.cpp', 'maths/fast.cpp', 'matrix.cpp', 'memory/deleter.cpp', 'parallel/queue.cpp', 'parallel/stack.cpp', 'parse/enum.cpp', 'parse/value.cpp', 'parse/time.cpp', 'parse/si.cpp', 'paths.cpp', 'point.cpp', 'polynomial.cpp', 'pool.cpp', 'preprocessor.cpp', 'quaternion.cpp', 'rand/buckets.cpp', 'rand/generator/normal.cpp', 'random.cpp', 'range.cpp', 'rational.cpp', 'region.cpp', 'registrar.cpp', 'roots/bisection.cpp', 'scoped.cpp', 'serialise.cpp', 'set/dset.cpp', 'signal.cpp', 'singleton.cpp', 'stream.cpp', 'string.cpp', 'stringid.cpp', 'stringcache.cpp', 'strongdef.cpp', 'thread/event.cpp', 'thread/flag.cpp', 'thread/monitor.cpp', 'thread/semaphore.cpp', 'thread/spinlock.cpp', 'thread/ticketlock.cpp', 'time/8601.cpp', 'traits.cpp', 'tuple/index.cpp', 'tuple/value.cpp', 'tuple/type.cpp', 'typeidx.cpp', 'types/description.cpp', 'types/tagged.cpp', 'uri.cpp', 'utf8.cpp', 'vector.cpp', 'version.cpp', 'view.cpp', ] if host_machine.system() != 'windows' test_sources += [ 'buffer/circular.cpp', 'buffer/paged.cpp', ] endif if get_option('simd') test_sources += 'coord/simd.cpp' endif foreach t : test_sources name = 'test_@0@'.format(t.underscorify()) test( name, executable(name, t, dependencies: libcruft_dep), protocol: 'tap', ) endforeach