Skip to content

Commit

Permalink
Disable stuck eBPF test.
Browse files Browse the repository at this point in the history
  • Loading branch information
fruffy committed Mar 17, 2023
1 parent e585d5f commit a9ba5d8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions backends/p4tools/modules/testgen/targets/ebpf/test/P4Tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ p4tools_add_tests(
)

# These tests need special arguments.
p4tools_add_tests(
TESTSUITES "${P4TESTDATA}/p4_16_samples/ebpf_checksum_extern.p4;"
TAG "testgen-p4c-ebpf" DRIVER ${P4TESTGEN_DRIVER} TEMPLATE_FILE ${TEMPLATE_FILE}
TARGET "ebpf" ARCH "ebpf" ENABLE_RUNNER RUNNER_ARGS "--extern-file ${P4C_SOURCE_DIR}/testdata/extern_modules/extern-checksum-ebpf.c"
TEST_ARGS "-I${P4C_BINARY_DIR}/p4include --test-backend STF ${EXTRA_OPTS} "
)
# TODO: This test is disabled because the z3 solver times out on it. Figure out why.
# We can not use the solver timeout because it crashes, the solver does not interact well with GC.
# p4tools_add_tests(
# TESTSUITES "${P4TESTDATA}/p4_16_samples/ebpf_checksum_extern.p4;"
# TAG "testgen-p4c-ebpf" DRIVER ${P4TESTGEN_DRIVER} TEMPLATE_FILE ${TEMPLATE_FILE}
# TARGET "ebpf" ARCH "ebpf" ENABLE_RUNNER RUNNER_ARGS "--extern-file ${P4C_SOURCE_DIR}/testdata/extern_modules/extern-checksum-ebpf.c"
# TEST_ARGS "-I${P4C_BINARY_DIR}/p4include --test-backend STF ${EXTRA_OPTS} "
# )

p4tools_add_tests(
TESTSUITES "${P4TESTDATA}/p4_16_samples/ebpf_conntrack_extern.p4;"
Expand Down

0 comments on commit a9ba5d8

Please sign in to comment.