diff options
author | Davide Caratti <dcaratti@redhat.com> | 2018-10-04 18:34:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-05 14:44:55 -0700 |
commit | cf5eafbfa586d030f9321cee516b91d089e38280 (patch) | |
tree | 30e1371bbdf7b2cdb19c0079d80c7135cfa7a2a5 /tools/testing/selftests/tc-testing/tdc_config.py | |
parent | 4a84810eaa20337ffc033c299d35ab91877e3814 (diff) |
tc-testing: fix build of eBPF programs
rely on uAPI headers in the current kernel tree, rather than requiring the
correct version installed on the test system. While at it, group all
sections in a single binary and test the 'section' parameter.
Reported-by: Lucas Bates <lucasb@mojatatu.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tdc_config.py')
-rw-r--r-- | tools/testing/selftests/tc-testing/tdc_config.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/testing/selftests/tc-testing/tdc_config.py b/tools/testing/selftests/tc-testing/tdc_config.py index a023d0d62b25..d651bc1501bd 100644 --- a/tools/testing/selftests/tc-testing/tdc_config.py +++ b/tools/testing/selftests/tc-testing/tdc_config.py @@ -16,7 +16,9 @@ NAMES = { 'DEV2': '', 'BATCH_FILE': './batch.txt', # Name of the namespace to use - 'NS': 'tcut' + 'NS': 'tcut', + # Directory containing eBPF test programs + 'EBPFDIR': './bpf' } |