shithub: sox

Download patch

ref: 3337edeafb1ac1f1ec88aee375a8fa21add35b52
parent: b220527a06347663738c223700410d74eff60d96
author: rrt <rrt>
date: Mon Sep 10 06:37:37 EDT 2007

Add "installcheck" target, and mention it in INSTALL.

--- a/INSTALL
+++ b/INSTALL
@@ -27,6 +27,14 @@
 	make
 	make install
 
+Optionally:
+
+	make installcheck
+
+(At the moment you can't run "make check", because when built
+modularly SoX can't use its format and effect modules until
+it is installed.)
+
 There are several optional parameters that you may pass to the
 configure script to customize SoX for your applications. Run
 
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -300,3 +300,10 @@
 
 distclean-local:
 	$(RM) soxstdint.h
+
+# Ideally we would use the "check" target so that "make distcheck"
+# would run the test suite, but an uninstalled libltdl build cannot
+# currently load its formats and effects, so the checks would fail.
+installcheck:
+	tests.sh
+	testall.sh