Skip to content

Commit

Permalink
[functional tests] Remove dependency on the ThunderChez library.
Browse files Browse the repository at this point in the history
I've just moved the relevant code into the functional-tests dir.
  • Loading branch information
jthornber committed Apr 30, 2020
1 parent ad79b62 commit 3e5de39
Show file tree
Hide file tree
Showing 61 changed files with 16,836 additions and 16 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,10 @@ Functional tests

A bunch of high level tests are implemented in the functional-tests directory.
These tests are written in Scheme. To run them you'll need to install
chezscheme (http://www.scheme.com/). In addition they make use of the
thunderchez (https://github.com/ovenpasta/thunderchez) library.
chezscheme (http://www.scheme.com/). There is no longer a dependency on
the ThunderChez library.

Make sure the tools that you wish to test are in your PATH, and the thunderchez
directory is in the CHEZSCHEMELIBDIRS environment variable.
Make sure the tools that you wish to test are in your PATH.

Then,

Expand Down
14 changes: 14 additions & 0 deletions functional-tests/fmt/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

fmt
---

Combinator Formatting Library

http://synthcode.com/scheme/fmt/


This directory contains a portable combinator-based formatting library
for Scheme. It has been tested on Chicken, Gauche, MzScheme 3.x and
Scheme48.

Documentation is in the file fmt.html.
1 change: 1 addition & 0 deletions functional-tests/fmt/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.8.4
42 changes: 42 additions & 0 deletions functional-tests/fmt/c.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
;;;; fmt-c.scm -- fmt module for emitting/pretty-printing C code
;;
;; Copyright (c) 2007 Alex Shinn. All rights reserved.
;; BSD-style license: http://synthcode.com/license.txt

#!r6rs
(library
(fmt c)
(export
fmt-in-macro? fmt-expression? fmt-return? fmt-default-type
fmt-newline-before-brace? fmt-braceless-bodies?
fmt-indent-space fmt-switch-indent-space fmt-op fmt-gen
c-in-expr c-in-stmt c-in-test
c-paren c-maybe-paren c-type c-literal? c-literal char->c-char
c-struct c-union c-class c-enum c-typedef c-cast
c-expr c-expr/sexp c-apply c-op c-indent c-current-indent-string
c-wrap-stmt c-open-brace c-close-brace
c-block c-braced-block c-begin
c-fun c-var c-prototype c-param c-param-list
c-while c-for c-if c-switch
c-case c-case/fallthrough c-default
c-break c-continue c-return c-goto c-label
c-static c-const c-extern c-volatile c-auto c-restrict c-inline
c++ c-- c+ c- c* c/ c% c& c^ c~ c! c&& c<< c>> c== c!= ; |c\|| |c\|\||
c< c> c<= c>= c= c+= c-= c*= c/= c%= c&= c^= c<<= c>>= ;++c --c ; |c\|=|
c++/post c--/post c. c->
c-bit-or c-or c-bit-or=
cpp-if cpp-ifdef cpp-ifndef cpp-elif cpp-endif cpp-else cpp-undef
cpp-include cpp-define cpp-wrap-header cpp-pragma cpp-line
cpp-error cpp-warning cpp-stringify cpp-sym-cat
c-comment c-block-comment c-attribute
)

(import (chezscheme)
(fmt fmt)
(srfi private include)
(only (srfi s1 lists) every)
(only (srfi s13 strings) substring/shared string-index string-index-right))

(include/resolve ("fmt") "fmt-c.scm")

)
Loading

0 comments on commit 3e5de39

Please sign in to comment.