Commit Graph

259 Commits

Author SHA1 Message Date
Matthias Koefferlein 34089ca96b Turned laySnap unit tests into a pure test for laybasic. 2017-08-27 00:59:08 +02:00
Matthias Koefferlein c8f4272ebb Moved rba and pya unit tests to module. 2017-08-27 00:47:40 +02:00
Matthias Koefferlein 016bb865ee Fixed a few build issues. 2017-08-27 00:16:46 +02:00
Matthias Koefferlein 79811994f6 Refactoring: moved unit tests to libraries for some other libs 2017-08-26 23:43:40 +02:00
Matthias Koefferlein 000917d2c9 Refactoring: moved unit tests to libraries for some libs (ut modularization) 2017-08-26 22:44:31 +02:00
Matthias Koefferlein be1b007f2f DRC tests integrated now + refactoring
Refactoring:
* more consistent behavior of output redirection
* ut library was refactored and split into several
  .h/.cc
* concept of long runners introduced
* long runners can be skipped with "test_is_long_runner()"
* same for editable/non-editable mode tests
2017-08-23 23:19:36 +02:00
Matthias Koefferlein e5c6bd9e29 Added DRC unit tests. 2017-08-23 11:53:44 +02:00
Matthias Koefferlein a0d864f3b6 Fixed build. 2017-08-23 11:14:29 +02:00
Matthias Koefferlein c0afa4bf58 Refactoring of resources and modules. 2017-08-23 09:58:39 +02:00
Matthias Koefferlein cbc5697253 Refactored Macro and MacroCollection into lym library for better reuse. 2017-08-22 23:39:55 +02:00
Matthias Koefferlein 9633a1b9af Buddies: progress with -d >= 10 and XOR: enhanced report 2017-08-22 21:38:56 +02:00
Matthias Koefferlein f53a3be51a strmxor enhancements: summary, bug fixes. 2017-08-21 23:41:52 +02:00
Matthias Koefferlein 487545bbaa Avoid memory corruption
The tiling processor now holds it's receivers
in tl::shared_ptr. This prevents memory corruption and
allows managing receiver lifetime externally.
2017-08-21 23:40:18 +02:00
Matthias Koefferlein 5130950f14 Fixed .pro files for bd unit tests. 2017-08-21 23:39:38 +02:00
Matthias Koefferlein 55e797ffaf Provide proper INSTALL targets for .pro files
Plus: reduce compiler warnings
2017-08-21 02:33:45 +02:00
Matthias Koefferlein edae27b9aa Added missing dependency and compatibility with -pedantic 2017-08-21 01:01:47 +02:00
Matthias Koefferlein 97412b1adb Merge branch 'master' into buddies 2017-08-21 00:22:57 +02:00
Matthias Koefferlein 9585922659 Some enhancements in the command line parser
* Cancel exceptions are handled properly and -h does
  no longer produce an error
* Help text is more readable now
* Some typos fixed
2017-08-21 00:20:18 +02:00
Matthias Koefferlein f013f1541e For strmxor unit tests: gsi initialization fixed
Now the gsi::initialize_expressions includes gsi::initialize.
Both can be called multiple times (the second time they are
ignored).
2017-08-21 00:01:10 +02:00
Matthias Koefferlein 1baddd3632 strmxor: fixes and basic functionality tests. 2017-08-21 00:00:27 +02:00
Matthias Koefferlein 394947df72 Segfault fixed in RecursiveShapeIterator
The RSI does no longer segfault when the default one
gets reset.
2017-08-20 23:59:06 +02:00
Matthias Koefferlein 4d06a7617c Some ut enhancements
* CaptureChannel becomes a main feature and is easier to
  use now.
* EXPECT_EQ/NE no longer does a double evaluation of the
  arguments on fail (to print the result that wasn't
  matching)
2017-08-20 23:57:03 +02:00
Matthias Koefferlein a7e4c7aadc Added unit tests for expressions (required for strmxor) 2017-08-20 21:36:09 +02:00
Matthias Koefferlein 6e3bf68da9 Added more tests for strmcmp, first version of better strmxor 2017-08-20 01:14:49 +02:00
Matthias Koefferlein 2a6c2ee735 Tests and bug fixes for strmcmp and strmclip
* ut framework now has a text file compare
* Added tests for strm2txt, strmclip and strmcmp
* Fixed the output of the PrintingDiffReceiver in some cases
* Cell renaming does not give a difference in smart cell mapping mode
2017-08-19 23:28:03 +02:00
Matthias Koefferlein 5a846ae9c7 Basic tests for the converters 2017-08-19 20:27:12 +02:00
Matthias Koefferlein 44472f84b7 Basic tests for the converters 2017-08-19 19:57:47 +02:00
Matthias Koefferlein c7edc9e7a0 More basic bd tests (reader) and some bug fixes 2017-08-19 19:25:21 +02:00
Matthias Koefferlein a9b64d1e57 Refactoring and first bd tests
The goal of the refactoring is to support unit tests
for the db library.

For this, a distributed unit test concept has been
introduced (later to be extended to other libs).
Unit tests are shared objects called ".ut" and are
automatically loaded by the ut runner. The bd library
now has two folders - one for sources and one for the
unit tests. The sources are separated into lib and apps.

First unit tests for the writer options have been
provided.
2017-08-19 18:47:52 +02:00
Matthias Koefferlein b296cdd915 Heavy refactoring of buddy sources
* To reduce the redundancy
* To enable testing of the bd library including the apps

The apps are entirely configured through their names.
Their .pro files are identical and the app implementation
is inside the bd lib (partially generic too). Hence the
apps can be tested by bd library unit tests.
2017-08-19 10:23:19 +02:00
Matthias Koefferlein 681c255e50 Equipped strmclip with the new command line parser
Plus: added repeated arguments (in addition to the array
arguments that have been there before).
2017-08-19 00:36:45 +02:00
Matthias Koefferlein e54cadef99 Functionality if strmcmp is complete now 2017-08-18 22:54:23 +02:00
Matthias Koefferlein b4a1143588 Some refactoring of buddy bodies and first strmcmp implementation
* Missing: functionaliy for strmcmp
2017-08-18 09:46:28 +02:00
Matthias Koefferlein bd5c7decce Fixed a doc typo 2017-08-17 23:36:49 +02:00
Matthias Koefferlein c571ae732d Add converter tools have reader options now. 2017-08-17 23:35:05 +02:00
Matthias Koefferlein aa3caeca07 More options for buddies
* Generic writer options
* Generic reader options
* All converter tools are equipped with writer options
* strm2gds is equipped with reader options already
2017-08-17 23:31:05 +02:00
Matthias Koefferlein dede3afe1b Enhancements on command line parser
* Advanced options
* Groups
* strm2gds uses the new features already.
2017-08-17 09:26:15 +02:00
Matthias Koefferlein 09033d834e Refactoring and enhancements of the cmd system
* Includes version and license info now
* New "bd" library for common features of the
  buddies scripts.
2017-08-16 23:48:59 +02:00
Matthias Koefferlein 9f8144a254 Refined documentation of command line parser and buddies. 2017-08-15 00:13:57 +02:00
Matthias Koefferlein 639eef069c Introducing a tolerance to reduce the number of test fails 2017-08-14 23:28:02 +02:00
Matthias Koefferlein 492351519e Added more options for strm2cif and strm2gds. 2017-08-14 22:42:12 +02:00
Matthias Koefferlein 0accc84367 Bugfix: package installation wasn't working from scratch
* Create the "salt" package directory as well - not just the
  package folder
* Include the package folder in the error message
* A better indication of what to do in the Apply button message
2017-08-14 21:29:10 +02:00
Matthias Koefferlein 7280a56ee9 Added command line parser to tl. 2017-08-13 23:05:40 +02:00
Matthias Koefferlein bd05fae9aa Enhanced error handling for unit test runner. 2017-08-13 00:49:39 +02:00
Matthias Koefferlein 5cfdc2fa64 Formal command line parser for buddies, first step. 2017-08-12 23:08:18 +02:00
Matthias Koefferlein 16852a0ea0 And another round of windows build fix ... 2017-08-12 21:55:58 +02:00
Matthias Koefferlein d777508755 One more round of windows build fix ... 2017-08-12 21:36:59 +02:00
Matthias Koefferlein f43592916e Hopefully fixed the build script version for all platforms .. 2017-08-12 19:05:59 +02:00
Matthias Koefferlein ac2b10eca5 Avoid multi-config builds to simplify build scripts. 2017-08-12 18:48:06 +02:00
Matthias Koefferlein c479dfa7c6 Modified plugin targets for Windows compatibility. 2017-08-12 18:25:56 +02:00