projects
/
autodist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for file type in -p to process all kinds of files from
[autodist.git]
/
apps
/
autodist
/
tests
/
autodist1.test
diff --git
a/apps/autodist/tests/autodist1.test
b/apps/autodist/tests/autodist1.test
index 5175a28089171ac288ebeea53cf8c13d3114ad25..f1b70935f12bee7733f4f6c310fe5d438bac5188 100755
(executable)
--- a/
apps/autodist/tests/autodist1.test
+++ b/
apps/autodist/tests/autodist1.test
@@
-22,6
+22,9
@@
Makefile
)
AC_OUTPUT
echo configure.ad ok
)
AC_OUTPUT
echo configure.ad ok
+#else !_DIST_DEFAULT
+echo "ERROR"
+exit 1
#endif _DIST_DEFAULT
EOF
#endif _DIST_DEFAULT
EOF
@@
-46,6
+49,9
@@
cat << EOF > subdir/configure.ad
# subdir/configure.ad fragment
#ifndef _DIST_NODEF
echo "_DIST_NODEF ok"
# subdir/configure.ad fragment
#ifndef _DIST_NODEF
echo "_DIST_NODEF ok"
+#else _DIST_NODEF
+echo "ERROR"
+exit 1
#endif _DIST_NODEF
EOF
#endif _DIST_NODEF
EOF
@@
-66,8
+72,12
@@
$AUTODIST || exit 1
make || exit 1
echo make ok
make || exit 1
echo make ok
+echo update test
+touch Makefile.ad
+make || exit 1
+echo update test ok
+
echo test ok
# Cleanup
rm -rf subdir distdir
echo test ok
# Cleanup
rm -rf subdir distdir
-