suriab / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

gyp should have a standard pattern for advertising true small tests #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some projects have true small tests that really are more like build steps that 
should be run any time the code gets built. Currently these can be integrated 
into the build by adding a target with actions to invoke them, but this 
requires 
repeating info about the target, potentially in a platform specific way.

Ideally there would be a flag like 'run_as_small_test': 1, which would cause 
the target to be run as part of the build. Ideally the total result of all of 
these 
tests would be captured into a single output file that could for instance be 
checked with a PRESUBMIT script.

Original issue reported on code.google.com by bradnel...@google.com on 21 Sep 2009 at 6:07

GoogleCodeExporter commented 9 years ago
Closing.  Yes, we need a better test-execution model, but this specific 
suggestion isn't a general enough 
solution.

Original comment by sgk@chromium.org on 21 Oct 2009 at 6:09