Skip to content

Commit

Permalink
remove profile tests if built without profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Mar 9, 2020
1 parent 6c0ae83 commit 5129e1f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/tests/radmin/all.mk
Expand Up @@ -7,6 +7,14 @@
#
TEST := test.radmin
FILES := $(subst $(DIR)/,,$(wildcard $(DIR)/*.txt))

#
# @todo - have a way to do this a bit more programmatically.
#
ifeq "$(AC_HAVE_GPERFTOOLS_PROFILER_H)" ""
FILES := $(filter-out set-profile-status-yes.txt show-profile-status.txt,$(FILES))
endif

$(eval $(call TEST_BOOTSTRAP))

#
Expand Down

0 comments on commit 5129e1f

Please sign in to comment.