512 characters.
svn path=/trunk/yasm/; revision=2172
libyasm_a_SOURCES += modules/preprocs/raw/raw-preproc.c
YASM_MODULES += preproc_raw
+
+EXTRA_DIST += modules/preprocs/raw/tests/Makefile.inc
+
+include modules/preprocs/raw/tests/Makefile.inc
p += strlen(p);
if (p > buf && p[-1] == '\n')
break;
- if ((p-buf) >= bufsize) {
+ if ((p-buf)+1 >= bufsize) {
/* Increase size of buffer */
char *oldbuf = buf;
bufsize *= 2;
--- /dev/null
+# $Id$
+
+TESTS += modules/preprocs/raw/tests/rawpp_test.sh
+
+EXTRA_DIST += modules/preprocs/nasm/tests/rawpp_test.sh
+EXTRA_DIST += modules/preprocs/nasm/tests/longline.asm
+EXTRA_DIST += modules/preprocs/nasm/tests/longline.hex
--- /dev/null
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:
--- /dev/null
+#! /bin/sh
+# $Id$
+${srcdir}/out_test.sh rawpp_test modules/preprocs/raw/tests "raw preproc" "-f bin -r raw" ""
+exit $?