summaryrefslogtreecommitdiff
path: root/tests/vsp-unit-test-0008.sh
AgeCommit message (Collapse)Author
2016-09-13tests: Make local variables localLaurent Pinchart
Avoid interfering with the vsp-lib namespace by making local variables local. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-06-20vsp-lib: Replace vsp-runner script with a function from vsp-libLaurent Pinchart
This allows reusing variables internal to vsp-lib and getting rid of the mdev and format arguments to the vsp-runner invocations. As part of the transition, handle additional options with an explicit list of supported options instead of passing them straight to yavta. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-06-19vsp-lib: Store the scaling configuration internallyLaurent Pinchart
This allows deciding whether to compare output frames using the exact or fuzzy algorithm internally, removing the need for an explicit argument to the compare_frames function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-06-19tests: Perform scaling verification in fuzzy modeLaurent Pinchart
The reference frame generator scaling algorithm doesn't match the VSP scaler in a pixel-perfect fashion, use fuzzy comparision of the result. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-06-19vsp-lib: Store the number of BRU inputs internallyLaurent Pinchart
Instead of getting the number of BRU inputs from an explicit argument to the compare_frames function, store it internally when configuring the pipeline. This simplifies the test scripts by removing the reftype argument to the compare_frames function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-06-19vsp-lib: Don't pass WPF index and format to comparison functionsLaurent Pinchart
The information is already known to the pipeline configuration functions, store it internally and reuse it instead of having to pass it explicitly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-06-19vsp-lib: Handle logging internallyLaurent Pinchart
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>
2016-05-19Initial commitLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>