Skip to content

Commit

Permalink
[circt-test] fix lit config for circt-bmc
Browse files Browse the repository at this point in the history
Signed-off-by: unlsycn <[email protected]>
  • Loading branch information
unlsycn committed Nov 24, 2024
1 parent 87d10b7 commit 32e722d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration_test/circt-test/basic-circt-bmc.mlir
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// RUN: env Z3LIB=%libz3 not circt-test %S/basic.mlir -r circt-test-runner-circt-bmc.py --mlir-runner 2>&1 | FileCheck %S/basic.mlir
// RUN: env Z3LIB=%libz3 PATH=%circt-tools-dir:$PATH not circt-test %S/basic.mlir -r circt-test-runner-circt-bmc.py --mlir-runner 2>&1 | FileCheck %S/basic.mlir
// REQUIRES: libz3
// REQUIRES: circt-bmc-jit
3 changes: 2 additions & 1 deletion integration_test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
tools = [
'arcilator', 'circt-opt', 'circt-translate', 'firtool', 'circt-rtl-sim.py',
'equiv-rtl.sh', 'handshake-runner', 'hlstool', 'ibistool', 'circt-lec',
'circt-bmc', 'circt-test', 'circt-test-runner-sby.py'
'circt-bmc', 'circt-test', 'circt-test-runner-sby.py', 'circt-test-runner-circt-bmc.py'
]

# Enable python if its path was configured
Expand Down Expand Up @@ -230,6 +230,7 @@
config.available_features.add('arcilator-jit')

config.substitutions.append(('%driver', f'{config.driver}'))
config.substitutions.append(('%circt-tools-dir', f'{config.circt_tools_dir}'))
llvm_config.add_tool_substitutions(tools, tool_dirs)

# cocotb availability
Expand Down

0 comments on commit 32e722d

Please sign in to comment.