Update ncurses_tests to 6.4

This commit is contained in:
William McBrine
2023-06-27 13:03:53 -04:00
parent 601c9373ef
commit 977dcc9a31
4 changed files with 11 additions and 6 deletions

View File

@@ -14,13 +14,16 @@ extern "C" {
#if defined(__TURBOC__) || defined(__EMX__) || defined(__DJGPP__) || \
defined(PDC_99) || defined(__WATCOMC__)
# ifndef HAVE_VSSCANF
# define HAVE_VSSCANF /* have vsscanf() */
# define HAVE_VSSCANF 1 /* have vsscanf() */
# endif
#endif
#if defined(PDC_99) || defined(__WATCOMC__)
# ifndef HAVE_SNPRINTF
# define HAVE_SNPRINTF 1 /* have snprintf() */
# endif
# ifndef HAVE_VSNPRINTF
# define HAVE_VSNPRINTF /* have vsnprintf() */
# define HAVE_VSNPRINTF 1 /* have vsnprintf() */
# endif
#endif

View File

@@ -1,6 +1,6 @@
# This provides for compiling and linking the ncurses test programs.
ncurses_testdir = $(HOME)/ncurses-6.1/test
ncurses_testdir = $(HOME)/ncurses-6.4/test
NCURSES_TESTS = bs$(E) gdc$(E) hanoi$(E) knight$(E) tclock$(E) \
lrtest$(E) ncurses$(E)

View File

@@ -1,6 +1,6 @@
/* This file is only used with the ncurses test programs.
*
* Have ncurses-6.1 unpacked in your $(HOME) (you don't need to build
* Have ncurses-6.4 unpacked in your $(HOME) (you don't need to build
* it), or edit ncurses_testdir appropriately in the Makefile or
* nctests.mif. Configure and build PDCurses, and:
*
@@ -23,7 +23,7 @@
#define HAVE_UNISTD_H 1
#define HAVE_TERMATTRS 1
#include <curses.h>
#include <curspriv.h>
#define ExitProgram exit
@@ -45,8 +45,10 @@
#define HAVE_PUTWIN 1
#define HAVE_SLK_COLOR 1
#define HAVE_SLK_INIT 1
#define HAVE_STRSTR 1
#define HAVE_USE_DEFAULT_COLORS 1
#define HAVE_WRESIZE 1
#define USE_STRING_HACKS 1
#ifdef PDC_WIDE
# define USE_WIDEC_SUPPORT 1

View File

@@ -508,7 +508,7 @@ xmas.o: $(demodir)/xmas.c
# This section provides for compiling and linking the
# ncurses test programs.
ncurses_testdir = $(HOME)/ncurses-6.1/test
ncurses_testdir = $(HOME)/ncurses-6.4/test
NCURSES_TESTS = bs gdc hanoi knight tclock lrtest ncurses