I think we should leave the files in their current directory. The
traffic files can be different for each application. As the
applications improve, the traffic files might differ.

Thanks,
Honnappa

On 21 April 2017 at 02:32, Maxim Uvarov <[email protected]> wrote:
> On 21 April 2017 at 00:25, Brian Brooks <[email protected]> wrote:
>
>> In test/common_plat/performance/odp_pktio_ordered_run.sh
>>
>>   PCAP_IN=`find . ${TEST_SRC_DIR} $(dirname $0) -name udp64.pcap -print
>> -quit`
>>
>> It looks like this script is run from workspace root when you do a
>> "make check", so "." will find all files named "udp64.pcap".
>>
>> Depending on whether the files were populated in the file system via
>> "git clone" or another means, e.g. "zip ; scp ; unzip", the find
>> command could return a different ordering:
>>
>> on machine 1:
>>
>>   $ find . -name "udp64.pcap"
>>   ./test/common_plat/performance/udp64.pcap
>>   ./example/switch/udp64.pcap
>>   ./example/l3fwd/udp64.pcap
>>   ./example/l2fwd_simple/udp64.pcap
>>   ./example/packet/udp64.pcap
>>
>> on machine 2:
>>
>>   $ find . -name "udp64.pcap"
>>   ./example/l3fwd/udp64.pcap
>>   ./example/packet/udp64.pcap
>>   ./example/switch/udp64.pcap
>>   ./example/l2fwd_simple/udp64.pcap
>>   ./test/common_plat/performance/udp64.pcap
>>
>> A potential fix is:
>>
>>   PCAP_IN=`find ${TEST_SRC_DIR} -name udp64.pcap -print -quit`
>>
>> but, it turns out that most of these files are duplicates! They can be
>> removed?
>>
>
> I think we just need to pull all files to some common place. examples/pcaps
> looks like a good place.
>
> Maxim.

Reply via email to