mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
Relocated test library
This commit is contained in:
parent
465f38ad25
commit
1a1f707a73
14 changed files with 19 additions and 19 deletions
10
Makefile
10
Makefile
|
@ -68,12 +68,12 @@ install : libs install-libs install-includes install-bin
|
|||
$(INSTALL) -m0755 scheme/*.so $(DESTDIR)$(DATADIR)/scheme
|
||||
$(INSTALL) -m0644 scheme/cyclone/*.sld $(DESTDIR)$(DATADIR)/scheme/cyclone
|
||||
$(INSTALL) -m0644 scheme/cyclone/*.scm $(DESTDIR)$(DATADIR)/scheme/cyclone
|
||||
$(INSTALL) -m0644 scheme/cyclone/test.meta $(DESTDIR)$(DATADIR)/scheme/cyclone
|
||||
$(INSTALL) -m0644 libs/cyclone/test.meta $(DESTDIR)$(DATADIR)/cyclone
|
||||
$(INSTALL) -m0644 libs/cyclone/match.meta $(DESTDIR)$(DATADIR)/cyclone
|
||||
$(INSTALL) -m0644 scheme/cyclone/*.o $(DESTDIR)$(DATADIR)/scheme/cyclone
|
||||
$(INSTALL) -m0755 scheme/cyclone/*.so $(DESTDIR)$(DATADIR)/scheme/cyclone
|
||||
$(INSTALL) -m0644 libs/cyclone/*.sld $(DESTDIR)$(DATADIR)/cyclone
|
||||
# $(INSTALL) -m0644 libs/cyclone/*.scm $(DESTDIR)$(DATADIR)/cyclone
|
||||
$(INSTALL) -m0644 libs/cyclone/*.scm $(DESTDIR)$(DATADIR)/cyclone
|
||||
$(INSTALL) -m0644 libs/cyclone/*.o $(DESTDIR)$(DATADIR)/cyclone
|
||||
$(INSTALL) -m0755 libs/cyclone/*.so $(DESTDIR)$(DATADIR)/cyclone
|
||||
$(INSTALL) -m0644 srfi/*.sld $(DESTDIR)$(DATADIR)/srfi
|
||||
|
@ -261,9 +261,9 @@ bootstrap : icyc libs
|
|||
cp scheme/cyclone/transforms.c $(BOOTSTRAP_DIR)/scheme/cyclone
|
||||
cp scheme/cyclone/cgen.c $(BOOTSTRAP_DIR)/scheme/cyclone
|
||||
cp scheme/cyclone/util.c $(BOOTSTRAP_DIR)/scheme/cyclone
|
||||
cp scheme/cyclone/test.c $(BOOTSTRAP_DIR)/scheme/cyclone
|
||||
cp scheme/cyclone/test.meta $(BOOTSTRAP_DIR)/scheme/cyclone
|
||||
cp scheme/cyclone/test.scm $(BOOTSTRAP_DIR)/scheme/cyclone
|
||||
cp libs/cyclone/test.c $(BOOTSTRAP_DIR)/cyclone
|
||||
cp libs/cyclone/test.meta $(BOOTSTRAP_DIR)/cyclone
|
||||
cp libs/cyclone/test.scm $(BOOTSTRAP_DIR)/cyclone
|
||||
cp scheme/cyclone/array-list.c $(BOOTSTRAP_DIR)/scheme/cyclone
|
||||
cp scheme/cyclone/array-list.meta $(BOOTSTRAP_DIR)/scheme/cyclone
|
||||
cp scheme/cyclone/array-list.sld $(BOOTSTRAP_DIR)/scheme/cyclone #just in case
|
||||
|
|
|
@ -58,9 +58,9 @@ These libraries are provided by Cyclone with a stable API that is unlikely to ch
|
|||
|
||||
- [`cyclone concurrent`](api/cyclone/concurrent.md)
|
||||
- [`cyclone match`](api/cyclone/match.md)
|
||||
- [`cyclone test`](api/cyclone/test.md)
|
||||
- [`scheme cyclone array-list`](api/scheme/cyclone/array-list.md)
|
||||
- [`scheme cyclone pretty-print`](api/scheme/cyclone/pretty-print.md)
|
||||
- [`scheme cyclone test`](api/scheme/cyclone/test.md)
|
||||
|
||||
# Internal Compiler API
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
;;;; This module contains a testing framework ported from (chibi test)
|
||||
;;;; which in turn was ported from CHICKEN.
|
||||
;;;;
|
||||
(define-library (scheme cyclone test)
|
||||
(define-library (cyclone test)
|
||||
(export
|
||||
warning test-group-inc! print-exception ;; TODO: should not be needed here
|
||||
;; must be a problem with referential transparency
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(import (scheme base) (scheme cyclone test) (scheme write) (srfi 128) #;(comparators))
|
||||
(import (scheme base) (cyclone test) (scheme write) (srfi 128) #;(comparators))
|
||||
;(load "../comparators/r7rs-shim.scm")
|
||||
|
||||
(define (print x) (display x) (newline))
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(import (scheme base) (scheme cyclone test) (srfi 117))
|
||||
(import (scheme base) (cyclone test) (srfi 117))
|
||||
;(cond-expand
|
||||
; (chicken (use test srfi-117))
|
||||
; (chibi (import (chibi test) (list-queues)))
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
(scheme base)
|
||||
(scheme char)
|
||||
(scheme complex)
|
||||
(scheme cyclone test)
|
||||
(cyclone test)
|
||||
(srfi 113)
|
||||
(srfi 128)
|
||||
)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
(import (scheme base) (srfi 133) (scheme cyclone test))
|
||||
(import (scheme base) (srfi 133) (cyclone test))
|
||||
#;(cond-expand
|
||||
(cyclone (import (scheme base) (srfi 133) (scheme cyclone test)))
|
||||
(cyclone (import (scheme base) (srfi 133) (cyclone test)))
|
||||
(chicken (use test srfi-133))
|
||||
(chibi (import (scheme base) (chibi test) (vectors))))
|
||||
(test-group "vectors"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
(scheme base)
|
||||
(srfi 27)
|
||||
(scheme cyclone array-list)
|
||||
(scheme cyclone test))
|
||||
(cyclone test))
|
||||
|
||||
(define test-size 2000)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
(import
|
||||
(scheme base)
|
||||
(scheme write)
|
||||
(scheme cyclone test)
|
||||
(cyclone test)
|
||||
(scheme cyclone pretty-print))
|
||||
|
||||
(define (output sexp)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
(cyclone
|
||||
(import
|
||||
(cyclone match)
|
||||
(scheme cyclone test)))
|
||||
(cyclone test)))
|
||||
(chibi
|
||||
(import
|
||||
(chibi ast)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
(scheme base)
|
||||
(srfi 121)
|
||||
(only (srfi 1) unfold)
|
||||
(scheme cyclone test))
|
||||
(cyclone test))
|
||||
|
||||
(define g
|
||||
(make-coroutine-generator
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(import (scheme base)) (import (srfi 143)) (import (scheme cyclone test))
|
||||
(import (scheme base)) (import (srfi 143)) (import (cyclone test))
|
||||
(test-group "fixnum"
|
||||
(test-group "fixnum/arithmetic"
|
||||
(test #t (fixnum? 32767))
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
(import
|
||||
(scheme base)
|
||||
(srfi 28)
|
||||
(scheme cyclone test))
|
||||
(cyclone test))
|
||||
|
||||
(test-group
|
||||
"format"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
(import
|
||||
(scheme base)
|
||||
(srfi 60)
|
||||
(scheme cyclone test))
|
||||
(cyclone test))
|
||||
|
||||
(define a #b1100)
|
||||
(define b #b1010)
|
||||
|
|
Loading…
Add table
Reference in a new issue