Sign in
gem5
/
public
/
gem5
/
refs/heads/stable
/
.
/
ext
/
pybind11
/
tests
/
test_cmake_build
/
test.py
blob: 807fd43b4a01850ebd9aa1ec398b7485baf31060 [
file
] [
log
] [
blame
]
import
sys
import
test_cmake_build
assert
isinstance
(
__file__
,
str
)
# Test this is properly set
assert
test_cmake_build
.
add
(
1
,
2
)
==
3
print
(
f
"{sys.argv[1]} imports, runs, and adds: 1 + 2 = 3"
)