Skip to content

Commit

Permalink
test: some fixes
Browse files Browse the repository at this point in the history
use mkdir -p instead off the mess I had originally
Use --slow-tests to configure the full IPC stress
  • Loading branch information
chrissie-c committed Mar 20, 2018
1 parent 4a0bd0c commit d998066
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/check_ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static const int MAX_MSG_SIZE = DEFAULT_MAX_MSG_SIZE;
#define GIANT_MSG_DATA_SIZE MAX_MSG_SIZE - sizeof(struct qb_ipc_response_header) - 8

/* This can take AGES (like, an hour) on FreeBSD */
#ifdef __FreeBSD__
#ifndef HAVE_SLOW_TESTS
#define NUM_STRESS_LOOPS 700
#else
#define NUM_STRESS_LOOPS 70000
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ distclean maintainer-clean:
# includes, which are swiped when processing one subdir and then
# missing, as a hard error, for the other)
@$(MAKE) -C log_external $@
@mkdir .deps 2>/dev/null || true
@mkdir -p .deps
@touch .deps/log_client.Po .deps/log_interlib.Plo .deps/log_interlib_client.Po
@$(MAKE) -C log_internal $@
@$(MAKE) -f Makefile $@ SUBDIRS=
Expand Down

0 comments on commit d998066

Please sign in to comment.