Commit Graph

6 Commits

Author SHA1 Message Date
Markus Hitter 448a040f9a check_configtool.sh: don't ignore whitespace entirely.
Instead, any amount of whitespace is treated equally.

Example of a failure not noticed before:

  //#define Z_DIR_PIN  PA_8
  //#define Z_DIR_PINPA_8
2017-12-31 17:26:09 +01:00
Markus Hitter 00aab9f01d check_configtool.sh: show unified diffs.
They're clearer about which change version is in what file.
2017-12-31 17:23:15 +01:00
Markus Hitter fdf9534ed9 check_configtool.sh: comment on comment stripping. 2016-06-06 14:18:08 +02:00
Markus Hitter b3f77a89b2 check_configtool.sh: remove test files on success. 2016-06-06 14:18:02 +02:00
Markus Hitter e35fe22f74 check_configtool.sh: allow spaces in paths.
To the best of my bash script knowledge, this also means we have
to break on the first error, because pipe terms run in a subshell,
so they can't pass variables to the parent.
2016-06-06 14:15:14 +02:00
Phil Hord 21ac717d6d Configtool: add integrity tests for Configtool output.
Add a test that puts the stock config files through the
Configtool input/output parsers and verifies the output matches
the input.  If Configtool breaks down in the future and produces
different output, this should catch it.

If this fails because of some intentional change in the tool or
in the stock config files, then the tool or stock config files
should be updated to be compatible again before merging the result.
2016-06-06 12:36:53 +02:00