Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

fix testeth --help output #5627

Merged
merged 2 commits into from
Jun 17, 2019
Merged

fix testeth --help output #5627

merged 2 commits into from
Jun 17, 2019

Conversation

winsvega
Copy link
Contributor

solves #5626

@winsvega winsvega requested a review from gumb0 June 13, 2019 18:45
@gumb0
Copy link
Member

gumb0 commented Jun 14, 2019

What about

 -t <TestSuite>/<TestCase>
    --testpath <PathToTheTestRepo>

and

    --singletest <TestFile> <TestName>

?

@gumb0
Copy link
Member

gumb0 commented Jun 14, 2019

Also please add a changelog item

@codecov-io
Copy link

codecov-io commented Jun 14, 2019

Codecov Report

Merging #5627 into master will increase coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #5627      +/-   ##
=========================================
+ Coverage   62.59%   62.6%   +0.01%     
=========================================
  Files         350     350              
  Lines       29690   29690              
  Branches     3344    3344              
=========================================
+ Hits        18584   18587       +3     
+ Misses       9897    9895       -2     
+ Partials     1209    1208       -1

cout << setw(35) << "--singlenet <networkId>" << setw(25) << "Run tests for a specific network (Frontier|Homestead|EIP150|EIP158|Byzantium|Constantinople|ConstantinopleFix)\n";
cout << setw(35) << "--verbosity <level>" << setw(25) << "Set logs verbosity. 0 - silent, 1 - only errors, 2 - informative, >2 - detailed\n";
cout << setw(35) << "--vm <name|path> (=legacy)" << setw(25) << "Set VM type for VMTests suite. Available options are: interpreter, legacy.\n";
cout << setw(35) << "--evmc <option>=<value>" << setw(0) << "EVMC option\n";
Copy link
Member

Choose a reason for hiding this comment

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

I don't believe you need setw(0) because the width is reset after every use.

@codecov-io
Copy link

Codecov Report

Merging #5627 into master will increase coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #5627      +/-   ##
=========================================
+ Coverage   62.59%   62.6%   +0.01%     
=========================================
  Files         350     350              
  Lines       29690   29690              
  Branches     3344    3344              
=========================================
+ Hits        18584   18587       +3     
+ Misses       9897    9895       -2     
+ Partials     1209    1208       -1

@gumb0 gumb0 merged commit cfececf into master Jun 17, 2019
@gumb0 gumb0 deleted the fixtestout branch June 17, 2019 15:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants