blob: 407b393d5f93d90d118382f4e8454fc5bf5dda56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import os
import lit.Test
config.name = "flang-OldUnit"
config.suffixes = [".test", ".test.exe"]
config.test_source_root = os.path.join(config.flang_obj_root, "unittests")
config.test_exec_root = config.test_source_root
config.test_format = lit.formats.ExecutableTest()
path = os.path.pathsep.join(
(
config.flang_libs_dir,
config.llvm_libs_dir,
config.environment.get("LD_LIBRARY_PATH", ""),
)
)
config.environment["LD_LIBRARY_PATH"] = path
|