~nnstreamer/ssat/+git/trunk:defaultoptionhandling

Last commit made on 2023-08-17
Get this branch:
git clone -b defaultoptionhandling https://git.launchpad.net/~nnstreamer/ssat/+git/trunk

Branch merges

Branch information

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

Recent commits

03c6ec7... by MyungJoo Ham

Use the first unrecognized argument as the path name, not the second.

If there are multiple unrecognized arguments,
treat only the first one as the path.

This will allow to ignore invalid arguments if it has given
the path for backward compatibility in the future.

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

0b5f29a... by MyungJoo Ham

Add bmp2png utility.

SSAT API has bmp2png, which is supposed to be installed by
SSAT user.

However, this introduces circular dependency; thus,
it is refactored to have bmp2png in SSAT as a utility.

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

d0a13d6... 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>