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 25, 2024
1 parent 87d10b7 commit 7a07ffb
Show file tree
Hide file tree
Showing 2 changed files with 4 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
4 changes: 3 additions & 1 deletion integration_test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@
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 +231,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 7a07ffb

Please sign in to comment.