Phil Nash
b4c9bf5802
Removed version # from readme
...
- and script that updates it (as it’s now automatically in a badge)
2017-03-03 15:40:32 +00:00
Martin Hořeňovský
fd6c7aee6d
Fixed compile benchmark script
...
Now it no longer attempts to enter a directory before creating it...
2017-03-02 18:27:31 +01:00
Martin Hořeňovský
70ac6dbb9f
Minor output improvements in approvalTests.py
2017-02-24 15:56:26 +01:00
Phil Nash
ad942885ce
Removed unused exception object from release notes script
2017-02-23 08:11:15 +00:00
Phil Nash
2e08bfe9cc
Single include generator now handles spaces between # and include
2017-02-22 08:05:31 +00:00
Phil Nash
1f71d1f760
Some minor clean-up to Python script
2017-02-15 11:54:47 +00:00
Martin Hořeňovský
6da5e0862a
Benchmark script: allow passing flags to compiler
2017-02-14 15:34:17 +01:00
Martin Hořeňovský
2049113935
Benchmark script: use median AND mean of compile time
2017-02-14 15:34:00 +01:00
Martin Hořeňovský
0837132ce3
Make the benchmarking script Python 2 compatible
...
Ended up using `time.time()`, even if it supposedly has worse accuracy,
because Python running under WSL supports `time.clock()` very badly.
2017-02-12 12:25:43 +01:00
Martin Hořeňovský
26df0781a5
Added a script for running synthetic compile time benchmark
2017-02-08 14:15:01 +01:00
Martin Hořeňovský
090fc74cca
Scripts intended to be run should now have x bit set.
2017-02-01 21:34:45 +01:00
Martin Hořeňovský
c390c4cb9f
Fixed inconsistent and trailing whitespace
...
This means that all tabs used in indentation are now 4 spaces and that
there should be no more trailing whitespace.
Ill also look into creating a pre-commit hook that will prevent this
from happening in the future.
Fixes #105
2017-01-26 23:13:12 +01:00
Martin Hořeňovský
73872207db
Direct download link now links to latest release version
...
Also edited releaseCommon script to update the link in readme as well.
2017-01-26 13:12:19 +01:00
Martin Hořeňovský
4ce11d63a6
Merge branch 'dev-performance'
2017-01-25 22:56:36 +01:00
Martin Hořeňovský
99c2ea594c
Renamed measurement script for benchmarking
2017-01-25 22:55:11 +01:00
Phil Nash
225e90d8ba
Don’t include tests that rely on varying two-phase-lookup behaviour in approval tests
2017-01-23 17:47:58 +00:00
Martin Hořeňovský
81159838a5
Python scripts can now be run directly from bash
2017-01-20 12:28:40 +01:00
Martin Hořeňovský
78a2866dc7
Approval tests are now mostly Windows compatible
...
There are some differences in output between Catch on Windows and
Catch on Linux, that indicate a minor bug, but those have to be fixed separately.
2017-01-19 23:56:31 +01:00
Martin Hořeňovský
9acc6b9673
Approval tests now use Python std lib instead of call to diff
...
This needed to change to let it run on Windows as well as on the Unices
2017-01-19 22:52:47 +01:00
Martin Hořeňovský
c4b5057094
Approval tests now uses path relative to cwd, not the catch folder.
...
This means that bash's autocompletion is actually helpful.
2017-01-19 22:08:51 +01:00
Mickey Rose
d38b9266e7
simplify output filtering in approvalTests.py
2017-01-19 22:04:29 +01:00
Martin Hořeňovský
b71a06cf98
JUnit reporter outputs timestamps now
...
Also extended approval tests script to support the change
2017-01-16 20:21:43 +01:00
Martin Hořeňovský
3b7511e564
First commit of benchmarks for Catch runtime perf.
...
So far its very much a WIP with some problems that are known already and
not very representative tests.
2017-01-14 21:55:37 +01:00
Phil Nash
62cbde369e
Exclude test name from approval tests
2017-01-09 14:37:28 +00:00
Phil Nash
1ae84897d4
Marked tests that use C++11 features with [c++11] tag and exclude them from approval tests
2017-01-09 14:37:28 +00:00
Phil Nash
976a655496
Approval tests can use Catch path fixed in env. var, and convert nullptr and __null to 0 for comparison
2017-01-09 14:37:28 +00:00
Phil Nash
79acc0504b
Sort test ordering during Approval testing
2016-11-29 11:32:16 +00:00
Phil Nash
315c83ad87
Removed unnecessary parentheses
2015-11-04 18:49:19 +00:00
Phil Nash
8c32b49d5f
Added script to strip trailing whitespace from source files
2015-11-04 07:33:39 +00:00
Phil Nash
5d5ed5a283
Updated approvalTests script to allow for modified version strings
2015-07-10 08:08:37 +01:00
Phil Nash
804896cdfa
Fixed approval tests script for new version number formatting
2015-06-30 18:24:59 +01:00
Phil Nash
21f7ef6fdc
Committed to semantic versioning
...
as prompted by #365 , #430 , #447 and a thread on the google group.
- split version bumping out of generateSingleHeader script
- separate scripts for bumping each version component
- "build" number only incremented for "develop" builds
2015-06-29 18:06:15 +01:00
Phil Nash
a99e75b928
Made approvals more platform agnostic
...
removes root from all paths - so only relative paths remain
2014-12-11 23:40:29 +00:00
Phil Nash
785db43bb2
Fixed issue with single include generator
...
- well, partially. The problem is it is matching /* … */ comments by assuming the intervening lines begin with whitespace followed by a *. This avoids it having to maintain extra state, but makes it brittle.
It was matching *it = " " + *it; as a comment!
It now matches on a single space followed by a * and this seems to work for now - but it probably needs to move to proper stateful comment handling.
2014-07-11 07:45:41 +01:00
Phil Nash
b198856f79
Fixed single header generator for generating no-impl header
2014-06-02 07:47:24 +01:00
Phil Nash
57374a1fab
Added ability for releaseNotes script to pull github issue titles
2014-04-26 08:34:24 +01:00
Phil Nash
18845dab7f
Added script to extract stub for “release notes”
...
- gets last two commit hashes for the version file, gets the commit logs between those versions and parses out the messages
2014-04-25 06:10:50 +01:00
Phil Nash
878c257de7
Merge pull request #255 from johannesmoene/fix-python-print
...
Fix python print
2014-04-21 19:15:44 +01:00
Phil Nash
87891cf38b
Updated approval tests baselines
2014-04-16 18:00:55 +01:00
Martin Moene
77c9edfcdb
Fix python scripts for python 3 (print now a function rather than a keyword)
2014-03-08 11:31:38 +01:00
Martin Moene
91ea20c4cc
Change <> to !=
2014-03-08 11:31:11 +01:00
Phil Nash
1f1ee3c63d
New version of Clara
...
- Clara now built with new stitch script (based on generateSingleInclude)
- also fixed python scripts for python 3 (print now a function rather than a keyword)
2014-03-01 10:38:14 +00:00
Phil Nash
d29cbecfa5
Updated single include generator to allow for embedded micro-libraries
2014-02-11 18:11:37 +00:00
Phil Nash
de49ec4d7c
Fixed broken single header following script change
...
- fixed the script (was missing #ifdefs)
- also fixed single include (Xcode) test project
- build 16
2013-12-04 20:25:14 +00:00
Phil Nash
c4a089c12b
Refactored a lot of code from headers into impl headers only compiled into one TU
...
- also added noimpl option to single header script - which only generates the non impl code
2013-12-03 18:52:41 +00:00
Phil Nash
a35ee200da
Filter out version number from approval tests
2013-09-30 08:05:14 +01:00
Phil Nash
16c21ee265
No, really trim paths in approval tests down to just filenames
2013-09-30 08:01:10 +01:00
Phil Nash
1e74938538
Trim paths in approval tests down to filenames
2013-09-30 07:39:06 +01:00
Phil Nash
2f7a296897
Split approve file into multiple files
2013-09-27 19:01:14 +01:00
Phil Nash
11b5179ceb
Redacted test durations from JUnit reporter output in approval test script
2013-08-15 18:50:40 +01:00
Phil Nash
b80280f428
Tidied up reporting of missing assertions in test cases
...
- also removed basic reporter from approval test
2013-07-26 19:19:44 +01:00
Phil Nash
a9b346b14d
Removed line numbers from approval tests of xml too
2013-06-29 12:04:38 +01:00
Phil Nash
40b8c7794c
Removed line numbers from approval tests
2013-06-29 11:59:49 +01:00
Phil Nash
239fa28e46
Added run without -s to approvals
2013-06-28 16:23:14 +01:00
Phil Nash
7d5f2715ce
Fixed script for new readme
...
- updated README with new version
- fixed casing error for -e opt description
2013-06-07 21:15:25 +01:00
Phil Nash
7293c9785a
header builder script writes to file rather than stdout
2013-04-24 20:19:05 +01:00
Phil Nash
2278451cd2
Refactored scripts to start using a common file
2013-04-24 18:58:57 +01:00
Phil Nash
f4254b8622
Moved scripts into their own folder
2013-03-21 20:54:47 +00:00