Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | unittests: Fix linter errors | ZyX | 2017-03-29 |
| | |||
* | unittests: Add tests for tv_dict_extend | ZyX | 2017-03-29 |
| | |||
* | eval: Remove eval_expr() completely | ZyX | 2017-03-29 |
| | |||
* | eval: Split eval.c into smaller files | ZyX | 2017-03-29 |
| | |||
* | unittests: Check core dumps in after_each, like in functests | ZyX | 2017-03-11 |
| | |||
* | unittests: Run all unit tests in their own processes | ZyX | 2017-03-11 |
| | | | | | | | | | | | | | | | Used sed -r -i -e '/ helpers =/ s/$/\nlocal itp = helpers.gen_itp(it)/; s/^(\s*)it\(/\1itp(/' test/unit/**/*_spec.lua to alter all tests. Locally they all run fine now. Reasoning: 1. General: state from one test should not affect other tests. 2. Local: travis build is failing with something which may be an output of garbage collector. This should prevent state of the garbage collector from interferring as well. | ||
* | eval/encode: Make sure that encoder can encode NULL variables | ZyX | 2016-04-18 |
Adds two undocumented v: variables: _null_list and _null_dict because I do not know a reproducible way to get such lists (though I think I heard about this) and dictionaries (do not remember hearing about them). NULL strings are obtained using $XXX_UNEXISTENT_VAR_XXX. Fixes crash in json_encode($XXX_UNEXISTENT_VAR_XXX). Other added tests worked fine before this commit. |