~nnstreamer/ssat/+git/trunk:wait4completion

Last commit made on 2022-06-15
Get this branch:
git clone -b wait4completion https://git.launchpad.net/~nnstreamer/ssat/+git/trunk

Branch merges

Branch information

Name:
wait4completion
Repository:
lp:~nnstreamer/ssat/+git/trunk

Recent commits

73939b5... by MyungJoo Ham

Feature: GstTest in Background

Launch a gst pipeline in background for test cases with multiple
gst pipelines collaborating with each other.

Example usage:

gstTestBackground "background pipeline description" TCNAME 0 0 5
// launching the pipeline with 5s timeout for launching-timeout
// Note that the timeout only waits for the pipeline initialization.
// The pipeline shouldn't have indefinite prerolling wait.
// If this pipeline waits for inputs after the launch, make it
// async=false (at sink) so that it may skip prerolling

gstTest "foreground pipeline description, collaborating with above" ...

wait $pid
// the global variable "pid" is the PID of the background pipeline.

// alternatively
kill $pid // the background pipeline is no more needed.

Signed-off-by: MyungJoo Ham <email address hidden>

0f598bb... by Gichan Jang

[api] Add timeout function

Tizen don't provide timeout util.
Add timeout function using perl.

Signed-off-by: Gichan Jang <email address hidden>

5cb608e... by Dongju Chae

[API] Add timeout mode to gstTest command

This patch adds timeout mode to gstTest command.
It prevents from possible hanging problems.

Signed-off-by: Dongju Chae <email address hidden>

1635168... by MyungJoo Ham

Release 1.2.0

Update version number.
Make version numbers consistent across files.

Signed-off-by: MyungJoo Ham <email address hidden>

28ac84b... by MyungJoo Ham

Update progress mode: use >&2 instead of /dev/stderr

It appears that some Linux distros (gbs-Tizen) does not give
permissions of /dev/stderr for build daemons.

Signed-off-by: MyungJoo Ham <email address hidden>

0d5b252... by Gichan Jang

Add progress log level

Changed to select the progress log level.

  - 0: deactivate the log
  - 1: print test group name
  - 9: print all logs

Signed-off-by: gichan-jang <email address hidden>

2de8bd0... by Yongjoo Ahn

[API/compareTest] Return result when files do not exist

- When the file does not exist, in BusyBox condition, the bufsize is null and results of `dd` are same error message. And unexpected PASS result follows.
- This patch prevents this unexpected behavior.

Signed-off-by: Yongjoo Ahn <email address hidden>

f7eb306... by MyungJoo Ham

Feature: write summary with negative cases

If -cn is active, the summary file needs to include
the number of negative test cases as well.

Signed-off-by: MyungJoo Ham <email address hidden>

74138de... by MyungJoo Ham

Feature: count negative test cases

The new option "-cn"/"--countnegative" allows to count
test cases with a specified postfix.

Signed-off-by: MyungJoo Ham <email address hidden>

103e4f8... by MyungJoo Ham

Typo fix: variable name typo.

The number of critical errors have been reported incorrectly.

Signed-off-by: MyungJoo Ham <email address hidden>