blob: 4bee709b78f43fb298fcfd6e794a577cb1c3f8ca [file] [log] [blame]
Michael Kruseb55f7512025-02-16 14:39:521# -*- Python -*-
2
3import os
4
5import lit.formats
6
7# name: The name of this test suite.
8config.name = "flang-rt-OldUnit"
9
10# suffixes: A list of file extensions to treat as test files.
11# On Windows, ".exe" also matches the GTests and will execited redundantly.
12config.suffixes = [".test", ".exe"]
13
14# test_source_root: The root path where unit test binaries are located.
15config.test_source_root = os.path.join(config.flangrt_binary_dir, "unittests")
16
17# test_exec_root: The root path where tests should be run.
18# lit writes a '.lit_test_times.txt' file into this directory.
19config.test_exec_root = config.flang_rt_binary_test_dir
20
21# testFormat: The test format to use to interpret tests.
22config.test_format = lit.formats.ExecutableTest()