Shawn Webb
bec7539d75
Add the JSON properties flag to the unit tests
2014-05-05 15:53:30 -04:00
Kevin Lin
f4f331ae26
unit_tests: fixed testing involving optional features: unrar. bzip2, and xml
2014-03-18 17:23:27 -04:00
Steven Morgan
b02190b40c
Dynamic fpu endian detection for remaining unit tests and removal of fpu_words_bigendian configuration option and artifacts.
2013-11-11 18:00:58 -05:00
Steven Morgan
04ad685477
Fixes for unit tests when autoit ea06 unavailable
2013-11-04 12:14:19 -05:00
Török Edvin
aff7f05cd7
Fix bashism in unit test (bb #2923 )
...
Patch by Chris Rees:
$RANDOM is a bashism, it has been replaced with portable code.
Also, the randomly generated port is checked to make sure it's not already
in use.
2011-07-14 14:09:22 +03:00
Török Edvin
42f51c4561
bump unit test ulimits
...
RHEL6's experimental memory allocator has increased memory usage, so bump these
limits, see bb #1990 .
2011-04-14 16:00:26 +03:00
Török Edvin
a5ab598b18
Fix non-bash make-check.
2010-11-05 00:17:35 +02:00
Török Edvin
9e8d9a6e68
Use random port in make check (bb #2148 ).
...
Use random port in make check to avoid multiple builds' make check failures.
Note that this only works with bash, dash doesn't have $RANDOM defined.
2010-11-04 21:53:03 +02:00
Török Edvin
b49a08351a
Allow ulimit to fail (bb #2301 ).
2010-10-18 12:55:20 +03:00
Török Edvin
e7dfb05678
Fix valgrind tests.
...
Need to parse the correct valgrind.log when running multiple tests in parallel.
2010-09-28 13:46:33 +03:00
aCaB
0c0df334ac
add unit tests for the VI parser
2010-09-08 00:01:04 +02:00
aCaB
08b5aec381
fix previous: typo in unit_tests, order in cli_exe_info
2010-07-30 16:08:51 +02:00
aCaB
453d818022
use cached metadata in icon parser, add icon unit tests
2010-07-30 15:54:15 +02:00
Török Edvin
202d4ab4f7
Fix make check on AIX (bb #1917 ).
2010-04-13 13:13:17 +03:00
Török Edvin
9d1e3f6bde
Fix print of test log when unit test fails (bb #1838 ).
...
It was printing the wrong logfile (the one from the successful run).
2010-03-31 15:36:23 +03:00
Török Edvin
ada793857b
Update unit tests after Phishing.Heuristics -> Heuristics.Phishing change.
2010-02-08 20:27:59 +02:00
Török Edvin
16604dcfec
Fix ppc buildbot build.
2009-11-13 21:49:14 +02:00
Török Edvin
04a32cd312
Solaris's /bin/sh doesn't support export FOO=...
2009-11-13 21:35:12 +02:00
Török Edvin
3e95bd7268
Run clamscan with --debug to help diagnose failures.
2009-11-11 09:51:12 +02:00
Török Edvin
ec3c072e84
Remove virusevent test logfile, to prevent false failures.
2009-10-29 18:53:09 +02:00
Török Edvin
c11efd7534
silence error from this command, it is meant to fail.
2009-10-15 11:25:41 +03:00
Török Edvin
5ff0fe419a
Solaris's /bin/sh is not POSIX, don't use set -e for it.
2009-10-13 21:04:19 +03:00
Török Edvin
06a45187db
killclamd must always succeed (except when there's a stuck clamd).
2009-09-25 18:32:09 +03:00
Török Edvin
2c9de1f264
Fix typo.
2009-09-25 17:37:00 +03:00
Török Edvin
2c783ff014
Better error message when clamd gets killed
2009-09-25 17:33:09 +03:00
Török Edvin
3c5f686d75
Use automake's parallel tests feature.
...
This simplifies the various clamd/clamscan tests a lot,
since the valgrind tests can now be parallelized by automake,
and we don't need to do that in the script itself.
2009-09-14 19:02:50 +03:00