Skip to content

Commit

Permalink
Permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
fruffy committed Sep 3, 2022
1 parent 08c6e95 commit 6ec70d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-p4tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
# this is needed to create network namespaces for the ebpf tests.
- name: Run tests (Ubuntu Linux)
run: |
sudo docker run --privileged -w /p4c/build -e $CTEST_PARALLEL_LEVEL p4c sudo -E ctest -R testgen-p4c -j2 --output-on-failure --schedule-random
sudo docker run --privileged -w /p4c/build -e $CTEST_PARALLEL_LEVEL p4c ctest -R testgen-p4c -j2 --output-on-failure --schedule-random
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ macro(p4tools_add_test_with_args tag driver isXfail alias p4test target arch std
file(APPEND ${__testfile} "for item in \${stffiles[@]}\n")
file(APPEND ${__testfile} "do\n")
file(APPEND ${__testfile} "\techo \"Found \${item}\"\n")
file(APPEND ${__testfile} "\tpython3 ${__ebpfrunner} -t kernel -c ${__p4cebpfpath} -tf \${item} ${P4C_SOURCE_DIR} ${P4C_SOURCE_DIR}/${p4test}\n")
file(APPEND ${__testfile} "\tsudo -E python3 ${__ebpfrunner} -t kernel -c ${__p4cebpfpath} -tf \${item} ${P4C_SOURCE_DIR} ${P4C_SOURCE_DIR}/${p4test}\n")
file(APPEND ${__testfile} "done\n")
endif()
execute_process(COMMAND chmod +x ${__testfile})
Expand Down

0 comments on commit 6ec70d2

Please sign in to comment.