Enable all p4c tests to pass (#515)
* Support negative-valued action parameters by converting them in the Python helper code into a positive value whose bit pattern is the 2's complement representation of the negative value. * Add Python ply package, to enable all p4c tests to pass
This commit is contained in:
parent
bf5433b7c5
commit
fc8e21a67a
@ -119,7 +119,8 @@ sudo pip3 install protobuf==3.6.1
|
||||
|
||||
# Starting in 2019-Nov, Python3 version of Scapy is needed for `cd
|
||||
# p4c/build ; make check` to succeed.
|
||||
sudo pip3 install scapy
|
||||
# ply package is needed for ebpf and ubpf backend tests to pass
|
||||
sudo pip3 install scapy ply
|
||||
# Earlier versions of this script installed the Ubuntu package
|
||||
# python-ipaddr. However, that no longer exists in Ubuntu 20.04. PIP
|
||||
# for Python3 can install the ipaddr module, which is good enough to
|
||||
@ -135,4 +136,4 @@ sudo pip3 install ipaddr
|
||||
sudo pip3 install pypcap
|
||||
|
||||
# Things needed for `cd tutorials/exercises/basic ; make run` to work:
|
||||
sudo pip3 install psutil crcmod
|
||||
sudo pip3 install psutil crcmod
|
||||
|
Loading…
x
Reference in New Issue
Block a user