summaryrefslogtreecommitdiff
path: root/tests/cygwin32.test
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1997-03-22 08:14:41 +0000
committerTom Tromey <tromey@redhat.com>1997-03-22 08:14:41 +0000
commitdc4edf6b7738d83eb971df41baa33ee126564a70 (patch)
tree3bf8c64eb09877abb4020e3989a16ed9ad278d1d /tests/cygwin32.test
parent4aa44f6a1dfd652248e4d84e1dd10473edab1f06 (diff)
downloadautomake-dc4edf6b7738d83eb971df41baa33ee126564a70.tar.gz
more cygwin32 fixes
Diffstat (limited to 'tests/cygwin32.test')
-rwxr-xr-xtests/cygwin32.test24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/cygwin32.test b/tests/cygwin32.test
new file mode 100755
index 000000000..42882389b
--- /dev/null
+++ b/tests/cygwin32.test
@@ -0,0 +1,24 @@
+#! /bin/sh
+
+# Test basic Cygwin32 functionality.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AC_PROG_CC
+AM_CYGWIN32
+END
+
+cat > Makefile.am << 'END'
+bin_PROGRAMS = www
+www_SOURCES = www.c @extra_stuff@
+EXTRA_www_SOURCES = xtra.c
+END
+
+: > www.c
+: > xtra.c
+
+$AUTOMAKE || exit 1
+
+grep '^CYGWIN' Makefile.in && exit 1
+grep 'EXEEXT' Makefile.in