numam-dpdk/test
Radoslaw Biernacki f046826e76 test/memory: fix autotest parsing
This patch fixes three problems in memory autotest:
 - the regex for IOVA
 - missing validation of second and following output lines
 - propagation of error to consecutive tests
 - conversion base for mem size (hex indtead of dec)
First fix is for changes introduced with IOVA, the regex was not
updated which lead to unit test failure.  Patch now also uses loop for
line outputs processing to verify more than just one line. By this we
also satisfy the pexpect() and scan the "Test OK"/"Test Failed" so in
case of error all output lines are consumed and does not break the
consecutive test (error does not propagate).

Fixes: 7ba49d39f1 ("mem: rename segment address from physical to IOVA")
Fixes: b4ce15aa2b ("app/test: fix memory autotest")

Signed-off-by: Radoslaw Biernacki <radoslaw.biernacki@linaro.org>
2017-11-12 04:15:54 +01:00
..
cmdline_test mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
test test/memory: fix autotest parsing 2017-11-12 04:15:54 +01:00
test-acl mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
test-pipeline remove useless memzone includes 2017-11-06 22:12:08 +01:00
Makefile test: move unit tests to separate directory 2017-02-28 16:04:18 +01:00