[onecc-docker] Add test directory#9731
Conversation
This commit adds test directory. The test directory helps to test `onecc-docker` command line tool by installing prepare_test_materials.sh script and generating runtestall.sh script automatically. ONE-DCO-1.0-Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
|
I didn't test it yet. It is just a reference test directory. |
| file(APPEND "${DRIVER_SCRIPT}" "SCRIPT_PATH=$(cd $(dirname $\{BASH_SOURCE\[0\]\}) && pwd)\n") | ||
| file(APPEND "${DRIVER_SCRIPT}" "pushd $SCRIPT_PATH > /dev/null\n") |
There was a problem hiding this comment.
@jyoungyun , as a result of performing cmake on the file, it seems that the newline is not applied.
When executed, the result of the file runtestall.sh.
SCRIPT_PATH=$(cd $(dirname $\{BASH_SOURCE\[0\]\}) && pwd) \npushd $SCRIPT_PATH > /dev/null
When I modified it like this, I think the newline is applied well. Please check.
| file(APPEND "${DRIVER_SCRIPT}" "SCRIPT_PATH=$(cd $(dirname $\{BASH_SOURCE\[0\]\}) && pwd)\n") | |
| file(APPEND "${DRIVER_SCRIPT}" "pushd $SCRIPT_PATH > /dev/null\n") | |
| file(APPEND "${DRIVER_SCRIPT}" "SCRIPT_PATH=$(cd $(dirname $\{BASH_SOURCE\[0\]\}) && pwd)") | |
| file(APPEND "${DRIVER_SCRIPT}" "\n") | |
| file(APPEND "${DRIVER_SCRIPT}" "pushd $SCRIPT_PATH > /dev/null\n") |
There was a problem hiding this comment.
@jyoungyun
As we talked in the previous meeting, we will upload a new PR after modifying that part. Can you give me an opinion?
There was a problem hiding this comment.
When I modified it like this, I think the newline is applied well. Please check.
I didn't test this script. If there is something to modify, please fix it. :)
As we talked in the previous meeting, we will upload a new PR after modifying that part. Can you give me an opinion?
Yes, right. Please upload the code that constitutes the test environment first. :)
This commit adds test directory.
The test directory helps to test
onecc-dockercommand line tool by installing prepare_test_materials.sh script and generating runtestall.sh script automatically.ONE-DCO-1.0-Signed-off-by: Jiyoung Yun jy910.yun@samsung.com