summaryrefslogtreecommitdiffstats
path: root/tests/common.tl
Commit message (Collapse)AuthorAgeFilesLines
* Adding tests for split-str.Kaz Kylheku2016-09-171-0/+3
| | | | | | | | * Makefile (TXR_DBG_OPTS): Disable for tst/tests/015. * tests/common.tl (mtest): New macro. * tests/015/split.tl: New file.
* Run IPv6 tests only on some operating systems.Kaz Kylheku2016-03-101-0/+4
| | | | | | | | | | * tests/014/dgram-stream.tl (test): Renamed to dgram-test since now this includes common.tl which has a macro called test. Only include af-inet6 in the family list if the OS is GNU/Linux, Darwin or Cygwin. * tests/common.tl (osname): New function.
* Adding struct tests.Kaz Kylheku2015-09-021-4/+12
| | | | | | | | | | | | * tests/common.tl (vtest): New macro based on test. Evaluates the expected expression. (test): Becomes a wrapper for vtest which quotes the expected expression. (stest): New macro for string-based comparison of output. * tests/012/struct.expected: New file. * tests/012/struct.tl: New file.
* Split off test macros from ifa.tl into common file.Kaz Kylheku2015-07-231-0/+13
* Makefile (TESTS_OUT): Don't use find to hunt down tests; but rather wildcard. This way common.tl is not mistakenly identified as an independent test file. * tests/012/ifa.tl: Removed test code, placed in new file which is loaded. * tests/common.tl: New file.