-
Notifications
You must be signed in to change notification settings - Fork 442
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
2,030 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ include(common) | |
|
||
project(p4testgen) | ||
|
||
|
||
# Source files for p4testgen. | ||
set( | ||
TESTGEN_SOURCES | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
if(ENABLE_TESTING) | ||
# Include the test subdirectory. | ||
message("-- Adding p4testgen ebpf test suite") | ||
include(test/P4Tests.cmake) | ||
endif() | ||
|
||
# Source files for p4testgen. | ||
set( | ||
TESTGEN_SOURCES | ||
${TESTGEN_SOURCES} | ||
${CMAKE_CURRENT_SOURCE_DIR}/backend/stf/stf.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/ebpf.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/cmd_stepper.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/concolic.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/constants.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/expr_stepper.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/program_info.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/table_stepper.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/target.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/test_backend.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/test_spec.cpp | ||
PARENT_SCOPE | ||
) | ||
|
||
# Link the run-ebpf-test binary | ||
execute_process(COMMAND ln -sfn ${P4C_SOURCE_DIR}/backends/ebpf/run-ebpf-test.py ${CMAKE_BINARY_DIR}/run-ebpf-test.py) | ||
|
||
set( | ||
TESTGEN_LIBS ${TESTGEN_LIBS} | ||
${P4C_LIBRARIES} | ||
${P4C_LIB_DEPS} | ||
${CMAKE_THREAD_LIBS_INIT} | ||
PARENT_SCOPE | ||
) |
Oops, something went wrong.