vsp-lib: Handle logging internally
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 16 Jun 2016 20:24:24 +0000 (23:24 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 19 Jun 2016 12:26:01 +0000 (15:26 +0300)
commit7aa5142f82e87fa25fd3652ea74e416e02a185f5
tree36007555eed207a2cf3f6236d0f4c87c573378e9
parent282f432b16b1271257500e15b0f80c1a459045d8
vsp-lib: Handle logging internally

Remove the need to pipe individual commands to the logger from the test
scripts by moving all logging code internally to vsp-lib and vsp-runner.

As an interesting side effect the removal of shell pipes from the test
scripts avoids running functions in subshells. This makes it possible
for the pipeline configuration functions to set variables that can be
used later.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
scripts/vsp-lib.sh
scripts/vsp-runner.sh
tests/vsp-unit-test-0001.sh
tests/vsp-unit-test-0002.sh
tests/vsp-unit-test-0003.sh
tests/vsp-unit-test-0004.sh
tests/vsp-unit-test-0005.sh
tests/vsp-unit-test-0006.sh
tests/vsp-unit-test-0007.sh
tests/vsp-unit-test-0008.sh