diff should get -b on windows to ignore line-terminator differences; SEXP_API is redundantly redefined in sexp.c

This commit is contained in:
felix 2009-07-19 16:18:30 +02:00
parent 605a8dc87b
commit c6499c8b62
2 changed files with 2 additions and 2 deletions

View file

@ -19,6 +19,7 @@ else
ifeq ($(shell uname -o),Msys) ifeq ($(shell uname -o),Msys)
PLATFORM=mingw PLATFORM=mingw
SOLIBDIR = $(BINDIR) SOLIBDIR = $(BINDIR)
DIFFOPTS = -b
else else
PLATFORM=unix PLATFORM=unix
endif endif
@ -92,7 +93,7 @@ cleaner: clean
test-basic: chibi-scheme$(EXE) test-basic: chibi-scheme$(EXE)
@for f in tests/basic/*.scm; do \ @for f in tests/basic/*.scm; do \
./chibi-scheme$(EXE) $$f >$${f%.scm}.out 2>$${f%.scm}.err; \ ./chibi-scheme$(EXE) $$f >$${f%.scm}.out 2>$${f%.scm}.err; \
if diff -q $${f%.scm}.out $${f%.scm}.res; then \ if diff -q $(DIFFOPTS) $${f%.scm}.out $${f%.scm}.res; then \
echo "[PASS] $${f%.scm}"; \ echo "[PASS] $${f%.scm}"; \
else \ else \
echo "[FAIL] $${f%.scm}"; \ echo "[FAIL] $${f%.scm}"; \

1
sexp.c
View file

@ -2,7 +2,6 @@
/* Copyright (c) 2009 Alex Shinn. All rights reserved. */ /* Copyright (c) 2009 Alex Shinn. All rights reserved. */
/* BSD-style license: http://synthcode.com/license.txt */ /* BSD-style license: http://synthcode.com/license.txt */
#define SEXP_API
#include "chibi/sexp.h" #include "chibi/sexp.h"
/* optional huffman-compressed immediate symbols */ /* optional huffman-compressed immediate symbols */