diff options
| author | MartinNowack <martin.nowack@gmail.com> | 2014-04-15 14:54:52 +0200 |
|---|---|---|
| committer | MartinNowack <martin.nowack@gmail.com> | 2014-04-15 14:54:52 +0200 |
| commit | 5e0682ee26e02c710abd284f9f965e7a2c9a9f32 (patch) | |
| tree | 69bcaf2485b5b0dcecc32002de9335b667f65d0b /test/lit.site.cfg.in | |
| parent | 237899d2fe681e5ea70baef5104c43feba87dea2 (diff) | |
| parent | 78e06cb737e3e54e6c7035822f39961679e7b367 (diff) | |
| download | klee-5e0682ee26e02c710abd284f9f965e7a2c9a9f32.tar.gz | |
Merge pull request #104 from MartinNowack/llvm_34
Merge support for LLVM 3.4
Diffstat (limited to 'test/lit.site.cfg.in')
| -rw-r--r-- | test/lit.site.cfg.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/lit.site.cfg.in b/test/lit.site.cfg.in index 6fc3d49c..14ba94e6 100644 --- a/test/lit.site.cfg.in +++ b/test/lit.site.cfg.in @@ -22,4 +22,11 @@ config.have_selinux = True if @HAVE_SELINUX@ == 1 else False config.target_triple = "@TARGET_TRIPLE@" # Let the main config do the real work. -lit.load_config(config, "@KLEE_SOURCE_DIR@/test/lit.cfg") +try: + lit +except NameError: + # Use lit_config class + lit_config.load_config(config, "@KLEE_SOURCE_DIR@/test/lit.cfg") +else: + # Use old lit class + lit.load_config(config, "@KLEE_SOURCE_DIR@/test/lit.cfg") |
