Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Drone speedup (#2588) | Anton Yuzhaninov | 2018-10-13 | 1 | -2/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start switchind test to custom Docker images Using Docker images with pre-installed delendencies will speedup testing. * Debug build in drone.io * Use variable instead hardcoded path to the source * Debug variable substitution by drone Also according to comments in code DRONE_WORKSPACE is deprecated and CI_WORKSPACE is a new form. * One more try to use variables. It looks like drone uses same rules as docker-compose: https://docs.docker.com/compose/compose-file/#variable-substitution * Cleanup debug * Less verbose make output * Be consistent in variable escaping It works without escaping only becuse ${VAR} currently expanded by drone, but $VAR is not. * Use alpine base image for nodejs It is smaller. * Return rspamd-test * Revert variable escaping Wihtout escaping it is more easy to copy-past command for testing. Just don't use ${var} when var should be expanded by shell and not drone. * Add debug * Fix yaml parsing error * Fix exit code capture It should be done on the same line, because drone insert 'echo + cmd' between commands. * Remove debug * Readability No functional changes. * Return functional tests * Be consistent * Add git stub for coveralls * Send coverage * Fix yaml parsing error * Add links to Dockerfiles * Send test log in case of test failure XXX if rspamd-test failed, but functional was successful robot log will be attached (but not useful). * Don't run rspamd-test and functional tests in parallel It looks like there is a race condition in writing coverage files. * Try to run tests in parallel * Add debug * Fix parallel test run test/rspamd-test and functional test both use luacov.stats.out file in current directory. Run ./rspamd-test from anther directory. * Use drone condition for sending coveralls report Also don't send report if empty tocken was provided. * Add mininal python3 compatibility | |||||
* | [Test] Fix tests that are not RFC conformant | Vsevolod Stakhov | 2018-10-12 | 1 | -4/+4 | |
| | ||||||
* | [Minor] Adopted merger to work with drone | Mikhail Galanin | 2018-10-09 | 1 | -3/+9 | |
| | ||||||
* | [Test] fixed unit test | Mikhail Galanin | 2018-10-09 | 1 | -2/+1 | |
| | ||||||
* | Merge pull request #2577 from negram/fix-edge-case | Vsevolod Stakhov | 2018-10-08 | 1 | -35/+55 | |
|\ | | | | | Fix edge case | |||||
| * | [Test] one more test case | Mikhail Galanin | 2018-10-08 | 1 | -35/+55 | |
| | | ||||||
* | | Merge pull request #2576 from negram/more-coverage | Vsevolod Stakhov | 2018-10-08 | 7 | -0/+7 | |
|\ \ | | | | | | | [Test] Collect coverage in all functional tests | |||||
| * | | [Test] Collect coverage in all functional tests | Mikhail Galanin | 2018-10-08 | 7 | -0/+7 | |
| |/ | ||||||
* / | [Minor] Added coverage collection documentation | Mikhail Galanin | 2018-10-08 | 1 | -0/+58 | |
|/ | ||||||
* | [Test] Coverage merge/push script | Mikhail Galanin | 2018-10-08 | 1 | -0/+139 | |
| | ||||||
* | [Test] Collect coverage from rspamd workers | Mikhail Galanin | 2018-10-08 | 2 | -0/+107 | |
| | ||||||
* | [Test] use the coverage collector in tests | Mikhail Galanin | 2018-10-05 | 3 | -1/+3 | |
| | ||||||
* | [Test] added Lua test coverage collector for functional tests | Mikhail Galanin | 2018-10-05 | 1 | -0/+46 | |
| | ||||||
* | [Test] Fix reload test | Vsevolod Stakhov | 2018-10-02 | 2 | -3/+3 | |
| | ||||||
* | [Test] Fix and extend whitelist tests | Vsevolod Stakhov | 2018-10-01 | 3 | -49/+35 | |
| | ||||||
* | [Test] Add more test messages | Vsevolod Stakhov | 2018-10-01 | 4 | -0/+242 | |
| | ||||||
* | [Test] Add more fake domains | Vsevolod Stakhov | 2018-10-01 | 1 | -0/+15 | |
| | ||||||
* | [Minor] Fixed sync redis connection with default arguments in rspamadm | Mikhail Galanin | 2018-10-01 | 1 | -3/+3 | |
| | ||||||
* | [Test] Fix AV tests | Vsevolod Stakhov | 2018-09-29 | 1 | -4/+4 | |
| | ||||||
* | Merge pull request #2540 from negram/dns-sync-rspamadm | Vsevolod Stakhov | 2018-09-27 | 2 | -1/+53 | |
|\ | | | | | Dns sync rspamadm | |||||
| * | [Test] fixed config path | Mikhail Galanin | 2018-09-27 | 1 | -1/+1 | |
| | | ||||||
| * | [Test] Fixed undefined variable usage | Mikhail Galanin | 2018-09-27 | 1 | -3/+4 | |
| | | ||||||
| * | [Test] Add output logging | Mikhail Galanin | 2018-09-27 | 1 | -0/+2 | |
| | | ||||||
| * | [Test] Added test for dns request from rspamadm | Mikhail Galanin | 2018-09-27 | 2 | -1/+50 | |
| | | ||||||
* | | [Minor] Close file once it is not needed | Mikhail Galanin | 2018-09-27 | 1 | -4/+4 | |
|/ | ||||||
* | [Minor] Add Lua coverage collection for unit-tests (#2528) | Mikhail Galanin | 2018-09-25 | 1 | -1/+14 | |
| | | | | | | | | | | | | | | * [Minor] Add Lua coverage collection for unit-tests * [Minor] add coverage collection to CircleCI * [Minor] split into two lines * [Minor] sudo * [Minor] fixed nonsense * [Minor] Fix functional test | |||||
* | [Test] Actually the functional test | Mikhail Galanin | 2018-09-24 | 1 | -0/+30 | |
| | ||||||
* | [Test] Final cases for selectors - register_* and functional for regexps | Mikhail Galanin | 2018-09-24 | 5 | -1/+98 | |
| | ||||||
* | [Minor] Fix test cases | Vsevolod Stakhov | 2018-09-23 | 2 | -5/+5 | |
| | ||||||
* | Revert "[Test] Check selector before processing" | Vsevolod Stakhov | 2018-09-22 | 1 | -17/+16 | |
| | | | | This reverts commit baceaa985ebbb23ae7d26a2050f50bfd9544b85c. | |||||
* | [Test] Check selector before processing | Vsevolod Stakhov | 2018-09-22 | 1 | -16/+17 | |
| | ||||||
* | [Test] More test cases for selectors | Mikhail Galanin | 2018-09-21 | 3 | -1/+315 | |
| | | | | Also added negative cases (i.e. it doesn't work when it shouldn't) and combinations of selectors | |||||
* | [Test] Small fixes on diff renderer | Mikhail Galanin | 2018-09-21 | 1 | -3/+2 | |
| | ||||||
* | [Test] Use init_url() frim the new helper | Mikhail Galanin | 2018-09-21 | 3 | -26/+7 | |
| | ||||||
* | [Test] Added test helper module | Mikhail Galanin | 2018-09-21 | 1 | -0/+18 | |
| | ||||||
* | Merge pull request #2510 from negram/more-test | Vsevolod Stakhov | 2018-09-20 | 1 | -11/+25 | |
|\ | | | | | [Test] more tests | |||||
| * | [Test] more tests | Mikhail Galanin | 2018-09-20 | 1 | -11/+25 | |
| | | ||||||
* | | [Test] Nicely print table difference when they do not match | Mikhail Galanin | 2018-09-20 | 1 | -1/+106 | |
|/ | ||||||
* | [Test] Enable one more now-working test-case | Mikhail Galanin | 2018-09-20 | 1 | -7/+6 | |
| | ||||||
* | [Test] We don't this chek inside the test anymore. We have command-line ↵ | Mikhail Galanin | 2018-09-20 | 1 | -6/+0 | |
| | | | | param instead | |||||
* | [Test] Pass test-case patten into test engine | Mikhail Galanin | 2018-09-20 | 3 | -1/+16 | |
| | | | | | | | | | So that now we can set which test cases should be runned: $ ./test/rspamd-test -p /rspamd/lua -t selectors.lua -c "case .* rcpts" $ ./test/rspamd-test -p /rspamd/lua -c "case 1st rcpts" -c accepts Lua-pattern | |||||
* | [Test] Uncommented cases which are now working | Mikhail Galanin | 2018-09-20 | 1 | -51/+28 | |
| | ||||||
* | Merge pull request #2502 from negram/selectors-test | Vsevolod Stakhov | 2018-09-19 | 1 | -0/+228 | |
|\ | | | | | [Test] Few "basic" test cases for selectors | |||||
| * | Merge branch 'master' into selectors-test | Mikhail Galanin | 2018-09-19 | 2 | -0/+22 | |
| |\ | ||||||
| * | | [Test] Few "basic" test cases for selectors | Mikhail Galanin | 2018-09-19 | 1 | -0/+228 | |
| | | | ||||||
* | | | Merge pull request #2503 from negram/test-update | Vsevolod Stakhov | 2018-09-19 | 1 | -4/+2 | |
|\ \ \ | | | | | | | | | [Test] Rewrote test using new assertion | |||||
| * | | | [Test] Rewrote test using new assertion | Mikhail Galanin | 2018-09-19 | 1 | -4/+2 | |
| | |/ | |/| | ||||||
* / | | [Test] Added key to run specifig lua-test | Mikhail Galanin | 2018-09-19 | 2 | -1/+42 | |
|/ / | | | | | | | | | | | | | example: $ ./test/rspamd-test -p /rspamd/lua -t selectors.lua no way to run two test suites atm | |||||
* / | [Test] Assertions for table comparsion that are nicer to use | Mikhail Galanin | 2018-09-19 | 2 | -0/+22 | |
|/ | ||||||
* | [Test] Init URL parser before running unit tests | Mikhail Galanin | 2018-09-19 | 1 | -0/+1 | |
| |