Parcourir la source

[3669] Fix the distcheck issue with process_spawn_app.sh script.

Marcin Siodelski il y a 10 ans
Parent
commit
2b0e603997

+ 2 - 0
configure.ac

@@ -1466,6 +1466,7 @@ AC_CONFIG_FILES([compatcheck/Makefile
                  src/lib/util/python/Makefile
                  src/lib/util/python/gen_wiredata.py
                  src/lib/util/tests/Makefile
+                 src/lib/util/tests/process_spawn_app.sh
                  src/lib/util/threads/Makefile
                  src/lib/util/threads/tests/Makefile
                  src/lib/util/unittests/Makefile
@@ -1488,6 +1489,7 @@ AC_CONFIG_FILES([compatcheck/Makefile
            chmod +x src/lib/log/tests/logger_lock_test.sh
            chmod +x src/lib/log/tests/severity_test.sh
            chmod +x src/lib/util/python/gen_wiredata.py
+           chmod +x src/lib/util/tests/process_spawn_app.sh
            chmod +x tools/path_replacer.sh
 ])
 

+ 1 - 0
src/lib/util/tests/.gitignore

@@ -1 +1,2 @@
 /run_unittests
+/process_spawn_app.sh

+ 1 - 1
src/lib/util/tests/Makefile.am

@@ -17,7 +17,7 @@ CLEANFILES = *.gcno *.gcda
 # CSV files are created by unit tests for CSVFile class.
 CLEANFILES += *.csv
 
-EXTRA_DIST = process_spawn_app.sh
+noinst_SCRIPTS = process_spawn_app.sh
 
 TESTS_ENVIRONMENT = \
         $(LIBTOOL) --mode=execute $(VALGRIND_COMMAND)

src/lib/util/tests/process_spawn_app.sh → src/lib/util/tests/process_spawn_app.sh.in