-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guest test initial commit #118
Conversation
please Ning and Yi help to review code based on SW arch flow from slides 2 in following link: |
hello, Ning, Yi, any process regarding this code review? |
The patch set looks good to me! |
I'm not pretty sure whether we should care about the coding check
Ning can give some comments. |
[Hongyu] $1 not double quoted here, is it quite necessary?
[Hongyu] use $? to make rest of logic clear reading, if !mycmd may confuse and not easy to maintain in future
[Hongyu] this one is tricky and weird, tried revise it but the logic can't work as expected, so keep it the way right now |
fa90e30
to
2140c13
Compare
Hi @hanning0511 , @ysun I've revised based on offline review with Ning, the remained code check failure like following will be ignored temporarily since code change directly will broke the logic unexpectedly.
please note, there are 5 more code check failure like above brought back to secure the original design logic. as synced with Ning, will seek solution continuously and try to fix it with no code check failure + all logic correct. would you help to review and decide whether code can be merged? Thanks, |
That works for me. I've noticed that you've made a new commit to address the issue. However, it seems that another "merge commit" has been added, which has made the commit history somewhat cluttered. Would it be possible for you to remove that merge commit to keep the history cleaner? I'd like merge it today, so long as Ning has no comments. |
add guest-test framework folder and description Signed-off-by: Hongyu Ning <[email protected]>
test_launcher script initial commit Signed-off-by: Hongyu Ning <[email protected]>
qemu.config.json template initial commit, parse script added along to match it Signed-off-by: Hongyu Ning <[email protected]>
qemu_runner script to launch guest vm based on qemu.config and script parameters args override Signed-off-by: Hongyu Ning <[email protected]>
test_executor includes basic framework to prepare and run tests in guest vm based on $TESTCASE Signed-off-by: Hongyu Ning <[email protected]>
please refer to this implmentation to add more guest vm testcases Signed-off-by: Hongyu Ning <[email protected]>
fix path error in test_executor Signed-off-by: Hongyu Ning <[email protected]>
code style improvement based on github code check, plus minor json contents change and qemu_get_config.py print context change Signed-off-by: Hongyu Ning <[email protected]>
2140c13
to
2d404c0
Compare
Currently, there is only one type of Check that is being ignored. However, we can work on resolving it in the future. guest-test/guest.test_launcher.sh:211 - Quote the right-hand side of == in [[ ]] to prevent glob matching., refer to https://github.com/koalaman/shellcheck/wiki/SC2053 |
fix a path error in test_executor