aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Bug fix for $i++ = 3.Arnold D. Robbins2013-10-096-0/+25
| | |
| * | Improvements in the random number generator.Arnold D. Robbins2013-09-256-3/+136
| |/
| * Fix problem when extending NF. See test/nfloop.Arnold D. Robbins2013-09-136-2/+30
| |
| * Fix generation of Maketests file.Arnold D. Robbins2013-09-134-1065/+1069
| |
| * Quote $(srcdir) in test makefiles.Arnold D. Robbins2013-08-154-506/+513
| |
| * Fix for %c in multibyte locale + new tests.Arnold D. Robbins2013-07-046-2/+142
| |
| * Fix a typo in test/ChangeLog.Arnold D. Robbins2013-07-021-1/+1
| |
| * New test case for dfa problem fixed earlier.Arnold D. Robbins2013-06-276-2/+33
| |
| * Move clos1way test into Makefile.am.Arnold D. Robbins2013-06-244-11/+16
| |
| * test/Maketests (clos1way): Set AC_ALL=C, since clos1way.awk no longer does.Eli Zaretskii2013-06-222-1/+6
| |
| * Fix corner case use of exit.Arnold D. Robbins2013-06-036-2/+23
| |
* | Merge remote-tracking branch 'origin/master' into cmakeJuergen Kahrs2013-06-0110-30/+12045
|\|
| * Support |& on MS-Windows, both for sockets and for pipes.Eli Zaretskii2013-06-014-26/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | io.c (SHUT_RD) [SD_RECEIVE]: Define to SD_RECEIVE. (SHUT_WR) [SD_SEND]: Define to SD_SEND. (SHUT_RDWR) [SD_BOTH]: Define to SD_BOTH. (FD_TO_SOCKET, closemaybesocket) [!FD_TO_SOCKET]: New macros. (SOCKET_TO_FD, SOCKET) [!SOCKET_TO_FD]: New macros. (PIPES_SIMULATED): Define only for DJGPP. (pipe) [__MINGW32__]: Define to call _pipe, unless PIPES_SIMULATED is defined. (init_io) [HAVE_SOCKETS]: Call init_sockets. (iop_close, socketopen): Call closemaybesocket instead of close. (redirect) [__MINGW32__]: Call wait_any with a non-zero argument. (devopen) [__EMX__ || __MINGW32__]: Don't call stat on network pseudo-filenames. (two_way_open) [HAVE_SOCKETS]: Switch input and output to binary mode if appropriate. (two_way_open) [!PIPES_SIMULATED]: Use the __EMX__ code for MinGW as well. [__MINGW32__] Call spawnl to invoke $ComSpec and pass it a suitably quoted command line. (two_way_open) [__MINGW32__]: Wait only for a specified process ID. If successful, update the exit status of the exited process. Don't use signals that are undefined on MinGW. (two_way_open) [!PIPES_SIMULATED]: Use the __EMX__ code for MinGW as well. (min): Define only if not already defined. (read_with_timeout) [__MINGW32__]: Allow reading from sockets with timeout. (gawk_fclose) [__MINGW32__]: Close the underlying socket as well. getopt.c: Include stdlib.h for MinGW as well. pc/popen.h (SIGKILL) [__MINGW32__]: Define. (kill, quote_cmd): New prototypes. pc/popen.c: Include popen.h and errno.h. (popen, pclose, system): Undefine macros. (WIN32_LEAN_AND_MEAN) [__MINGW32__]: Define and include windows.h. (kill, quote_cmd) [!PIPES_SIMULATED]: New functions. (os_popen): Make the function definition match its prototype exactly. pc/gawkmisc.pc [HAVE_SOCKETS]: Include socket.h and windows.h. (socket, setsockopt, bind, connect, listen, accept, recvfrom) (shutdown): Undefine macros. (os_close_on_exec) [__MINGW32__]: Non-trivial implementation. (init_sockets, socket_to_fd, w32_socket, w32_setsockopt) (w32_bind, w32_connect, w32_listen, w32_accept, valid_socket) (w32_closesocket, w32_recvfrom, w32_shutdown) [HAVE_SOCKETS]: New functions for MinGW, emulate Posix sockets specified by file descriptors. pc/config.h (HAVE_GETADDRINFO, HAVE_SOCKADDR_STORAGE) (HAVE_SOCKETS) [__MINGW32__]: Define. pc/config.sed (HAVE_GETADDRINFO, HAVE_SOCKADDR_STORAGE) (HAVE_SOCKETS) [__MINGW32__]: Define. pc/Makefile.tst (fmtspcl): Announce expected failure only if not built with MPFR. (inetecht, inetdayt): For MinGW, warn about time-outs. (beginfile1, clos1way, getlndir): Announce expected failure only with DJGPP. (exit): Describe the failure on MinGW. (readdir): Explain why test might fail with bad ls.exe. pc/Makefile (mingw32, mingw32-readline, mingw32-mpfr) (mingw32-readline-mpfr): Add -lws2_32 to the link flags. (gawkmisc$O): Depend on socket.h. (io$O): Depend on socket.h and in.h. (popen$O): New dependency. posix/gawkmisc.c (init_sockets): New dummy function. extension/filefuncs.c [_WIN32]: Define WIN32_LEAN_AND_MEAN before including windows.h. extension/readdir.c [__MINGW32__]: Define WIN32_LEAN_AND_MEAN before including windows.h. extension/filefuncs.c [HAVE_GETSYSTEMTIMEASFILETIME]: Define WIN32_LEAN_AND_MEAN before including windows.h. test/clos1way.awk: Don't use features of Posix shells, to allow this test to work on Windows. test/beginfile2.sh: Leave one blank between the left quote and the following slash. Use non-absolute name for a non-existent file. This is to avoid breakage on Windows due to MSYS transformation of Posix style /foo/bar absolute file names. test/beginfile2.ok: Adapt to changes in beginfile2.sh.
| * Additional profiling tests.Arnold D. Robbins2013-05-307-2/+11995
| |
| * Move Makefile.in fix to Makefile.am.Arnold D. Robbins2013-05-202-2/+12
| |
* | CMake and MinGW can build 7 out of 11 extension; 10 out of 18 test SHLIB ↵Juergen Kahrs2013-05-201-3/+0
| | | | | | | | cases pass.
* | Test case SHLIB.filefuncs now needs a file named gawkapi.o.Juergen Kahrs2013-05-161-3/+3
| |
* | Merge remote-tracking branch 'origin/master' into cmakeJuergen Kahrs2013-05-163-4/+17
|\|
| * Fix building, installing, and testing extensions on MS-Windows.Eli Zaretskii2013-05-143-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test/Makefile.in (mpfr-tests, shlib-tests): Add a blank character between ' and /FOO/ in Gawk command lines, for the benefit of testing under MSYS Bash. test/filefuncs.awk (BEGIN): Call 'stat' on gawkapi.o, not on gawk, which does not exist on systems that produce gawk.exe. README_D/README.pc: Update the pc build and test instructions. pc/Makefile.tst (AWK): Set AWKLIBPATH so extensions could be found. (LS): New variable. (check): Add back shlib-tests and shlib-msg-end. (readdir): Add a warning regarding inode reporting by ls.exe. (fts, fork, fork2): Add message about expected failure on MinGW. pc/Makefile (install): Install the extensions. (install-strip): Likewise. pc/Makefile.ext: New file. io.c (devopen) [__EMX__ || __MINGW32__]: Produce EISDIR on MinGW when an attempt to open() a directory fails. (two_way_open) [__EMX__ || __MINGW32__]: When trying to open() a directory fails with EISDIR, assign FAKE_FD_VALUE to the file descriptor and attributes of a directory to its mode bits. This is needed to support the readdir extension. gawkapi.h (FAKE_FD_VALUE): New macro, used in io.h and in extension/gawkdirfd.h. extension/rwarray.c [__MINGW32__]: Include winsock2.h instead of arpa/inet.h. extension/readdir.c [__MINGW32__]: Include windows.h. Include gawkapi.h before gawkdirfd.h, since the former defines FAKE_FD_VALUE needed by the latter. (ftype): Accept an additional argument, the directory that is being read. Callers changed. [!DT_BLK]: Produce the file's type by calling 'stat' on it, if the dirent structure doesn't provide that. (get_inode): New function, to produce inode values on MS-Windows. (dir_get_record): Use it. extension/inplace.c (chown, link) [__MINGW32__]: Redirect to existing library functions. (mkstemp) [__MINGW32__]: New function, for MinGW, which doesn't have it in its library. (do_inplace_end) [__MINGW32__]: Remove the old file before renaming the new, since 'rename' on Windows cannot overwrite existing files. extension/gawkdirfd.h (ENOTSUP): Define to ENOSYS if not already defined. (DIR_TO_FD): If not defined yet, define to FAKE_FD_VALUE. extension/filefuncs.c (get_inode) [_WIN32]: New function, produces the file index used on Windows as its inode. (fill_stat_array) [_WIN32]: Use it.
* | Test cases longwrds and charasbytes pass now on MinGW.Juergen Kahrs2013-05-111-2/+0
| |
* | 37 test cases fail on MinGW; this list needs review and should eventually ↵Juergen Kahrs2013-05-111-0/+25
| | | | | | | | become shorter.
* | Test case SHLIB.filefuncs needs the gawk exe in source directory.Juergen Kahrs2013-05-111-1/+3
| |
* | Generated file CTestCustom.cmake contains test cases that shall be skipped.Juergen Kahrs2013-05-111-0/+22
| |
* | Merge remote-tracking branch 'origin/master' after release of Gawk 4.1.0 ↵Juergen Kahrs2013-05-105-11/+26
|\| | | | | | | into cmake
| * Gawk 4.1.0 release.Arnold D. Robbins2013-05-101-0/+4
| |
| * Fix symtab9 test so it will work on Windows too.Arnold D. Robbins2013-05-025-11/+22
| |
* | New function simple_test_case simplifies test case execution.Juergen Kahrs2013-05-091-15/+1
| |
* | Found better way to auto-detect GETGROUPS_T and GETPGRP_VOID.Juergen Kahrs2013-05-061-7/+1
| |
* | All 377 test cases are in now. Only mbfw1 and mbprintf1 fail on Linux.Juergen Kahrs2013-05-061-26/+0
| |
* | All BASIC test cases are in now.Juergen Kahrs2013-05-051-14/+7
| |
* | All UNIX test cases are in now.Juergen Kahrs2013-05-051-7/+4
| |
* | All LOCALE_CHARSET test cases are in now and found a bug in multi-byte ↵Juergen Kahrs2013-05-051-3/+1
| | | | | | | | characters with FIELDWIDTHS.
* | All EXT and INET test cases pass now.Juergen Kahrs2013-05-051-4/+2
| |
* | Replaced some $$ with $. All MPFR test cases pass now, on Linux and with MinGW.Juergen Kahrs2013-05-051-4/+2
| |
* | All non-standard test cases that caused a hang are now in and pass; ↵Juergen Kahrs2013-05-041-9/+0
| | | | | | | | (altogether 309 out of 377 pass).
* | All SHLIB test cases are implemented now and pass on Linux. With MinGW only ↵Juergen Kahrs2013-05-041-7/+5
| | | | | | | | 6 of them pass.
* | Non-standard test cases like testext shall be implemented as shell functions.Juergen Kahrs2013-05-041-7/+10
| |
* | Corrected some typos and formatting.Juergen Kahrs2013-05-031-40/+39
| |
* | 377 test cases, 84 fail, sorted out test cases that hang and test cases that ↵Juergen Kahrs2013-05-031-18/+67
| | | | | | | | fail.
* | Test case execution is not controlled by test/Gentests any more but by ↵Juergen Kahrs2013-05-031-19/+36
| | | | | | | | test/Makefile.am.
* | When building with a native MinGW for Win32 it is now possible to run a ↵Juergen Kahrs2013-04-291-1/+5
| | | | | | | | 'make test'; only 90% of the basic test cases pass.
* | The list of tests is now generated with functions supplied by CMake; an awk ↵Juergen Kahrs2013-04-291-8/+4
| | | | | | | | interpreter is not needed any more.
* | Merge remote-tracking branch 'origin/master' into cmakeJuergen Kahrs2013-04-289-60/+151
|\| | | | | | | | | Conflicts: README_d/ChangeLog
| * Fix 'next' test to be locale-independent.Arnold D. Robbins2013-04-193-13/+22
| |
| * Update to automake 1.13.1.Arnold D. Robbins2013-04-161-16/+30
| |
| * Prettify lists of tests updating in Makefile.am.Arnold D. Robbins2013-04-163-22/+26
| |
| * More portability: mostly for SGI IRIX.Arnold D. Robbins2013-03-245-4/+15
| |
| * Add check and message for Linux and NFS for readdir.Arnold D. Robbins2013-03-243-0/+13
| |
| * Further portability fixes in extensions, tests.Arnold D. Robbins2013-03-204-3/+10
| |
| * Merge branch 'gawk-4.0-stable'Arnold D. Robbins2013-03-116-2/+35
| |\