Skip to content
Snippets Groups Projects
Commit 8a637271 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Test] fix npy2apintstream test envvar

parent 0e476e5b
No related branches found
No related tags found
No related merge requests found
......@@ -333,7 +333,7 @@ def test_fpgadataflow_ipstitch_iodma_floorplan():
@pytest.mark.slow
@pytest.mark.vivado
@pytest.mark.vitis
def test_fpgadataflow_ipstitch_vitis(board, period_ns, extw):
def test_fpgadataflow_ipstitch_vitis_end2end(board, period_ns, extw):
if "VITIS_PATH" not in os.environ:
pytest.skip("VITIS_PATH not set")
platform = alveo_default_platform[board]
......@@ -355,7 +355,7 @@ def test_fpgadataflow_ipstitch_vitis(board, period_ns, extw):
@pytest.mark.parametrize("board", ["Pynq-Z1"])
@pytest.mark.slow
@pytest.mark.vivado
def test_fpgadataflow_ipstitch_zynqbuild(board):
def test_fpgadataflow_ipstitch_zynqbuild_end2end(board):
model = create_two_fc_model()
if model.graph.node[0].op_type == "StreamingDataflowPartition":
sdp_node = getCustomOp(model.graph.node[0])
......
......@@ -99,7 +99,7 @@ def test_npy2apintstream(test_shape, dtype):
g++ -o test_npy2apintstream test.cpp /workspace/cnpy/cnpy.cpp \
-I/workspace/cnpy/ -I{}/include -I/workspace/finn/src/finn/qnn-data/cpp \
--std=c++11 -lz""".format(
os.environ["VIVADO_PATH"]
os.environ["HLS_PATH"]
)
with open(test_dir + "/compile.sh", "w") as f:
f.write(cmd_compile)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment