citgm icon indicating copy to clipboard operation
citgm copied to clipboard

cli: add --audit and --auditList options

Open bzoz opened this issue 7 years ago • 2 comments

In short: on Windows running citgm-all --auditList platform will list all modules that are flaky/skipped on win32. Running citgm-all --audit platform will run the smoke tests for all the skipped/flaky modules.

Adds citgm-all --auditList option which will list all modules that are flaky or skipped on current machine, including the the reason a module is skipped:

  • version
  • distro
  • release
  • platform
  • endian
  • fips

Running citgm-all --auditList reson1 reasn2... will show only the modules that are skipped or flaky because they match given reason.

Calling citgm-all --audit will run the smoke tests for all modules that are skipped or flaky. Tested modules can also be filtered by providing list of "reasons" to test.

Checklist
  • [ ] npm test passes
  • [x] tests are included
  • [ ] documentation is changed or added
  • [x] contribution guidelines followed here

The test for current master do not pass neither on my WSL installation nor on my Win10 box. I've added some tests, I'll add more when I get test\bin\test-citgm-all.js work on Windows.

bzoz avatar Aug 20 '18 17:08 bzoz

Should we close this?

MylesBorins avatar Apr 05 '19 19:04 MylesBorins

I think we should land this, but I didn't have time recently to write tests.

bzoz avatar Apr 06 '19 13:04 bzoz