Skip to content

Commit

Permalink
Decouple shell-based tests from cryb-test.
Browse files Browse the repository at this point in the history
  • Loading branch information
dag-erling committed Sep 13, 2024
1 parent 885da41 commit 4397b98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ AC_CHECK_LIB([cryb-test], [t_add_tests])
LIBCRYB_TEST="${LIBS}"
LIBS="${save_LIBS}"
AC_SUBST(LIBCRYB_TEST)
AM_CONDITIONAL([WITH_TESTS], [test x"${LIBCRYB_TEST}" != x""])
AM_CONDITIONAL([WITH_CRYB_TEST], [test x"${LIBCRYB_TEST}" != x""])

# options
AC_ARG_ENABLE([developer-warnings],
Expand Down
6 changes: 3 additions & 3 deletions t/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
AM_CPPFLAGS = -I$(top_srcdir)/lib
LIBPSORT = $(top_builddir)/lib/libptsort.a

if WITH_TESTS
if WITH_CRYB_TEST

check_PROGRAMS = t_aa
t_aa_LDADD = $(LIBPSORT) $(LIBCRYB_TEST)

endif

dist_check_SCRIPTS = t_dp_red.sh

${dist_check_SCRIPTS}: t_subr.sh
Expand All @@ -15,5 +17,3 @@ EXTRA_DIST = t_dp_red.ti t_dp_red.to
TESTS = $(check_PROGRAMS) $(dist_check_SCRIPTS)

CLEANFILES = t_subr.sh

endif

0 comments on commit 4397b98

Please sign in to comment.