mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-08 05:27: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)
|
||||
PLATFORM=mingw
|
||||
SOLIBDIR = $(BINDIR)
|
||||
DIFFOPTS = -b
|
||||
else
|
||||
PLATFORM=unix
|
||||
endif
|
||||
|
@ -92,7 +93,7 @@ cleaner: clean
|
|||
test-basic: chibi-scheme$(EXE)
|
||||
@for f in tests/basic/*.scm; do \
|
||||
./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}"; \
|
||||
else \
|
||||
echo "[FAIL] $${f%.scm}"; \
|
||||
|
|
1
sexp.c
1
sexp.c
|
@ -2,7 +2,6 @@
|
|||
/* Copyright (c) 2009 Alex Shinn. All rights reserved. */
|
||||
/* BSD-style license: http://synthcode.com/license.txt */
|
||||
|
||||
#define SEXP_API
|
||||
#include "chibi/sexp.h"
|
||||
|
||||
/* optional huffman-compressed immediate symbols */
|
||||
|
|
Loading…
Add table
Reference in a new issue