Skip to content

Add initial version of runtimetest command: - #9

Closed
zenlint wants to merge 6 commits into
opencontainers:masterfrom
zenlint:initruntimetestCmd
Closed

Add initial version of runtimetest command:#9
zenlint wants to merge 6 commits into
opencontainers:masterfrom
zenlint:initruntimetestCmd

Conversation

@zenlint

Copy link
Copy Markdown
Contributor

Add initial version of runtimetest command:
add unit and config for managing cases;
replace runtime_test.sh to golang realization;

Signed-off-by: zen Lin(Lin Zhinan) linzhinan@huawei.com

@mrunalp

Copy link
Copy Markdown
Contributor

Needs rebase. (On my review list).

@zenlint
zenlintforce-pushed the initruntimetestCmd branch 5 times, most recently from acb0c2e to 5290838CompareJanuary 29, 2016 06:55
@zenlint

Copy link
Copy Markdown
ContributorAuthor

@mrunalp
Thanks, I have rebased it, and this is a initial version of runtimetest sub command, let us talk about 'add more test cases and support other runtimes if they have wrappers to CLI similar to runc.
' in the issuse Initial code of runtimetest command #10 for more progress.

@zenlint

Copy link
Copy Markdown
ContributorAuthor

@mrunalp Any review comments plz let me know, thx.

Signed-off-by: linzhinan(zen Lin) <linzhinan@huawei.com>
@zenlintzenlint reopened this Mar 24, 2016
Signed-off-by: linzhinan(zen Lin) <linzhinan@huawei.com>
@zenlint

Copy link
Copy Markdown
ContributorAuthor

@liangchenye I have already reabased the PR.

Comment threadconfig/config.go Outdated
count := 0

for {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary empty line here.

@zenlint

Copy link
Copy Markdown
ContributorAuthor

@mrunalp Thanks very much, I have reviewed it myself and also fixed the format problems you pointed out.

Signed-off-by: linzhinan(zen Lin) <linzhinan@huawei.com>
@zenlint
zenlintforce-pushed the initruntimetestCmd branch from 4bb50c9 to 5e909b5CompareMarch 31, 2016 08:48
Signed-off-by: linzhinan(zen Lin) <linzhinan@huawei.com>
Signed-off-by: linzhinan(zen Lin) <linzhinan@huawei.com>
Signed-off-by: linzhinan(zen Lin) <linzhinan@huawei.com>
@liangchenye

Copy link
Copy Markdown
Member

Looks good, I have three suggestions:

  1. less new directory (config and units)
    maybe merge ocitools/config/config.go and ocitools/units/units.go into ocitools/runtimetest.go
  2. fix typos
    although my English grammar is pool, I try to comment on new commits.
  3. less commits
    merge some commits together?

wking referenced this pull request May 9, 2016
Signed-off-by: liang chenye <liangchenye@huawei.com>
wking added a commit to wking/ocitools-v2 that referenced this pull request Feb 10, 2017
These slipped through e41ffc1 (Use RFC 2119's keywords (MUST, MAY,
...), 2015-12-02, opencontainers#9).
Signed-off-by: W. Trevor King <wking@tremily.us>
@wkingwking mentioned this pull request Mar 17, 2017
@wking

Copy link
Copy Markdown
Contributor

Close now that #336 has landed?

@Mashimiao

Copy link
Copy Markdown

as #336 landed, close this

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@zenlint@mrunalp@liangchenye@wking@Mashimiao