Linaro / OpenCSD

CoreSight trace stream decoder developed openly
https://github.com/Linaro/opencsd/wiki
Other
143 stars 54 forks source link

Update run_pkt_decode_tests.bash #19

Closed jeremyng123 closed 4 years ago

jeremyng123 commented 5 years ago

Removed $BIN_DIR since error received:

Running trc_pkt_lister on snapshot directories.
Testing juno-ret-stck...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing a57_single_step...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing bugfix-exact-match...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing juno-uname-001...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing juno-uname-002...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing juno_r1_1...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing tc2-ptm-rstk-t32...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing trace_cov_a15...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing stm_only...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing stm_only-2...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing stm_only-juno...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing TC2...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing Snowball...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127
Testing test-file-mem-offsets...
./run_pkt_decode_tests.bash: line 71: ./bin/linux64/rel/trc_pkt_lister: No such file or directory
Done : Return 127

trc_pkt_lister is installed to /usr/bin/ directory after make install.

not exactly sure if this is a good fix or not.

mikel-armbb commented 4 years ago

Version 0.14.2 allows parameter to script that will use the installed library version or can specify a specific path