Commit 8be766aa authored by Lev Walkin's avatar Lev Walkin

use -Define to figure out where to get tests from

parent d7a46216
...@@ -58,8 +58,8 @@ main(int ac, char **av) { ...@@ -58,8 +58,8 @@ main(int ac, char **av) {
* Go into a directory with tests. * Go into a directory with tests.
*/ */
if(ac <= 1) { if(ac <= 1) {
fprintf(stderr, "Testing in ./tests...\n"); fprintf(stderr, "Testing in " TOP_SRCDIR_S "/tests...\n");
ret = chdir("../tests"); ret = chdir(TOP_SRCDIR_S "/tests");
assert(ret == 0); assert(ret == 0);
#ifdef _WIN32 #ifdef _WIN32
dir = _findfirst("*.asn1", &c_file); dir = _findfirst("*.asn1", &c_file);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment