mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-08 13:37:35 +02:00
diff should get -b on windows to ignore line-terminator differences; SEXP_API is redundantly redefined in sexp.c
This commit is contained in:
parent
605a8dc87b
commit
c6499c8b62
2 changed files with 2 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -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
1
sexp.c
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Reference in a new issue