]> gitweb.factorcode.org Git - factor.git/commitdiff
fix IN: for compiler tests
authorerg <erg@ubuntubox.(none)>
Sun, 26 Apr 2009 05:51:47 +0000 (00:51 -0500)
committererg <erg@ubuntubox.(none)>
Sun, 26 Apr 2009 05:51:47 +0000 (00:51 -0500)
27 files changed:
basis/compiler/tests/alien.factor
basis/compiler/tests/codegen.factor
basis/compiler/tests/curry.factor
basis/compiler/tests/float.factor
basis/compiler/tests/folding.factor
basis/compiler/tests/intrinsics.factor
basis/compiler/tests/optimizer.factor
basis/compiler/tests/peg-regression-2.factor
basis/compiler/tests/peg-regression.factor
basis/compiler/tests/redefine0.factor
basis/compiler/tests/redefine1.factor
basis/compiler/tests/redefine10.factor
basis/compiler/tests/redefine11.factor
basis/compiler/tests/redefine15.factor
basis/compiler/tests/redefine2.factor
basis/compiler/tests/redefine3.factor
basis/compiler/tests/redefine4.factor
basis/compiler/tests/redefine5.factor
basis/compiler/tests/redefine6.factor
basis/compiler/tests/redefine7.factor
basis/compiler/tests/redefine8.factor
basis/compiler/tests/redefine9.factor
basis/compiler/tests/reload.factor
basis/compiler/tests/simple.factor
basis/compiler/tests/spilling.factor
basis/compiler/tests/stack-trace.factor
basis/compiler/tests/tuples.factor

index 4d7882ad081307367076c1131428925a4111a0ce..42ed90d64ad0a7d85d1672b774585e6b15b3d5cf 100755 (executable)
@@ -5,7 +5,7 @@ continuations effects namespaces.private io io.streams.string
 memory system threads tools.test math accessors combinators
 specialized-arrays.float alien.libraries io.pathnames
 io.backend ;
-IN: compiler.tests
+IN: compiler.tests.alien
 
 <<
 : libfactor-ffi-tests-path ( -- string )
index 2e02e5476c735b89e45879c46773838f346b1c12..c746fdfb45ba5b06fe915ee888ec4169dbac4658 100644 (file)
@@ -4,7 +4,7 @@ sequences sequences.private tools.test namespaces.private
 slots.private sequences.private byte-arrays alien
 alien.accessors layouts words definitions compiler.units io
 combinators vectors grouping make ;
-IN: compiler.tests
+IN: compiler.tests.codegen
 
 ! Originally, this file did black box testing of templating
 ! optimization. We now have a different codegen, but the tests
@@ -281,4 +281,4 @@ TUPLE: cucumber ;
 
 M: cucumber equal? "The cucumber has no equal" throw ;
 
-[ t ] [ [ cucumber ] compile-call cucumber eq? ] unit-test
\ No newline at end of file
+[ t ] [ [ cucumber ] compile-call cucumber eq? ] unit-test
index 2d1f15b9a80842fdf90d294308385391b61a7f2b..32611ba87a1d36ba1386f76d2ee958552da592a0 100644 (file)
@@ -1,6 +1,6 @@
 USING: tools.test quotations math kernel sequences
 assocs namespaces make compiler.units compiler ;
-IN: compiler.tests
+IN: compiler.tests.curry
 
 [ 3 ] [ 5 [ [ 2 - ] curry call ] compile-call ] unit-test
 [ 3 ] [ [ 5 [ 2 - ] curry call ] compile-call ] unit-test
index b439b5f6a4adfa123c7583fc09540e0e8be4caf3..1a604dbd8ede3ae83e17a3458059eeb9ea6bd5a2 100644 (file)
@@ -1,4 +1,4 @@
-IN: compiler.tests
+IN: compiler.tests.float
 USING: compiler.units compiler kernel kernel.private memory math
 math.private tools.test math.floats.private ;
 
index fe2f801de23bfe65b346b9d9416074e3ff5ff5f2..5050ce1950e268af5de88ab5f3fb2fc06c942015 100644 (file)
@@ -1,6 +1,6 @@
 USING: eval tools.test compiler.units vocabs multiline words
 kernel classes.mixin arrays ;
-IN: compiler.tests
+IN: compiler.tests.folding
 
 ! Calls to generic words were not folded away.
 
index 93860db92475b13cc32980a61c7db294c34147b9..a6e827ea3372c337cc6d877deb2fdad832fcaa19 100644 (file)
@@ -6,7 +6,7 @@ sbufs strings.private slots.private alien math.order
 alien.accessors alien.c-types alien.syntax alien.strings
 namespaces libc sequences.private io.encodings.ascii
 classes compiler ;
-IN: compiler.tests
+IN: compiler.tests.intrinsics
 
 ! Make sure that intrinsic ops compile to correct code.
 [ ] [ 1 [ drop ] compile-call ] unit-test
index 99bdb188126447ede8a87bc0c9f39d360db79ad1..bd7008f9099a51f80e944a5eb8ea3ccb1f24fdbe 100644 (file)
@@ -5,7 +5,7 @@ quotations classes classes.algebra classes.tuple.private
 continuations growable namespaces hints alien.accessors
 compiler.tree.builder compiler.tree.optimizer sequences.deep
 compiler ;
-IN: optimizer.tests
+IN: compiler.tests.optimizer
 
 GENERIC: xyz ( obj -- obj )
 M: array xyz xyz ;
index 1efadba3aaefbaef2c4f89e998ed7c71d4275398..7929d9e6f6c13b6f211fad969f604d419d725e34 100644 (file)
@@ -1,4 +1,4 @@
-IN: compiler.tests
+IN: compiler.tests.peg-regression-2
 USING: peg.ebnf strings tools.test ;
 
 GENERIC: <times> ( times -- term' )
@@ -12,4 +12,4 @@ Regexp = Times:t => [[ t <times> ]]
 
 ;EBNF
 
-[ "foo" ] [ "a" parse-regexp ] unit-test
\ No newline at end of file
+[ "foo" ] [ "a" parse-regexp ] unit-test
index 56a4021eed3e9f995fba9effb38eee1131651a4a..e10713530596f2daed2c236a41049a666ad8f368 100644 (file)
@@ -5,7 +5,7 @@
 ! end of a compilation unit.
 
 USING: kernel accessors peg.ebnf ;
-IN: compiler.tests
+IN: compiler.tests.peg-regression
 
 TUPLE: pipeline-expr background ;
 
index 87b63aa0290134ebcac23a4d6cef5c3a2f4ad3ec..3d7a05a74b8ae274403f5bd29ced99fd9ea5b4c9 100644 (file)
@@ -104,4 +104,4 @@ quot global delete-at
         \ test-11 forget
         \ quot forget
     ] with-compilation-unit
-] unit-test
\ No newline at end of file
+] unit-test
index a28b183fb65fe4f2f77853a50c4742d0b99aa33f..af0fd52a473de024fcd8d6bcda8415f2a6ef549c 100644 (file)
@@ -1,7 +1,7 @@
 USING: accessors compiler compiler.units tools.test math parser
 kernel sequences sequences.private classes.mixin generic
 definitions arrays words assocs eval strings ;
-IN: compiler.tests
+IN: compiler.tests.redefine1
 
 GENERIC: method-redefine-generic-1 ( a -- b )
 
index faae7b8ed1e7c9ba6e9ad5b1b07d40e26dc7860d..66edd7509763e1e3b9e437c388d71c73b67ce275 100644 (file)
@@ -1,6 +1,6 @@
 USING: eval tools.test compiler.units vocabs multiline words
 kernel ;
-IN: compiler.tests
+IN: compiler.tests.redefine10
 
 ! Mixin redefinition did not recompile all necessary words.
 
index 57f9f9caf071dd4ac94f1d595577d7b04ff5fc84..dbec57e3d5c9c64b2780e5d040385200bdca77a7 100644 (file)
@@ -1,6 +1,6 @@
 USING: eval tools.test compiler.units vocabs multiline words
 kernel classes.mixin arrays ;
-IN: compiler.tests
+IN: compiler.tests.redefine11
 
 ! Mixin redefinition did not recompile all necessary words.
 
index 797460a411cbe798f5cf8ee37347048ec23da587..33aa080bacb4955fa4762323b865f6cb8a6fde8f 100644 (file)
@@ -17,4 +17,4 @@ DEFER: word-1
 
 [ \ word-3 [ [ 2 + ] bi@ ] (( a b -- c d )) define-declared ] with-compilation-unit
 
-[ 2 3 ] [ 0 word-4 ] unit-test
\ No newline at end of file
+[ 2 3 ] [ 0 word-4 ] unit-test
index 6a7b7a6941e78b9e7e5c12d7c1c7ec6207cfa60d..f74ba46fd4ec492e4a35ec5805a0223cdfdfc984 100644 (file)
@@ -1,4 +1,4 @@
-IN: compiler.tests
+IN: compiler.tests.redefine2
 USING: compiler compiler.units tools.test math parser kernel
 sequences sequences.private classes.mixin generic definitions
 arrays words assocs eval words.symbol ;
index 87ab100879b681994e0ebad1ae06ca132480cb08..a5962ff91a9e6f5d53d1e61dbe7cc6194c91f8cf 100644 (file)
@@ -1,4 +1,4 @@
-IN: compiler.tests
+IN: compiler.tests.redefine3
 USING: accessors compiler compiler.units tools.test math parser
 kernel sequences sequences.private classes.mixin generic
 definitions arrays words assocs eval ;
index 88b40f0c5a36a1c44aa9d206ba8523d3beaba3e8..5e0c6c0270cd44167781ed8227c133e8f1034d48 100644 (file)
@@ -1,4 +1,4 @@
-IN: compiler.tests
+IN: compiler.tests.redefine4
 USING: io.streams.string kernel tools.test eval ;
 
 : declaration-test-1 ( -- a ) 3 ; flushable
index c390f9a1ecaddfecf4dc7c96ba74b4735183bf88..761398785292012df94f591166f31551f4a989b5 100644 (file)
@@ -1,6 +1,6 @@
 USING: eval tools.test compiler.units vocabs multiline words
 kernel ;
-IN: compiler.tests
+IN: compiler.tests.redefine5
 
 ! Regression: if dispatch was eliminated but method was not inlined,
 ! compiled usage information was not recorded.
index 7f1be973e7aab7025f1c6a01aacf3bbde901b4f3..fdf3e7edbbcafcd729562408618e41383ed6c8c6 100644 (file)
@@ -1,6 +1,6 @@
 USING: eval tools.test compiler.units vocabs multiline words
 kernel ;
-IN: compiler.tests
+IN: compiler.tests.redefine6
 
 ! Mixin redefinition did not recompile all necessary words.
 
index d6dfdf20fd30d79403fa45bca8aae8fd7b91d998..cfe29603f9cc930f180336e75c82e175432ccce8 100644 (file)
@@ -1,6 +1,6 @@
 USING: eval tools.test compiler.units vocabs multiline words
 kernel ;
-IN: compiler.tests
+IN: compiler.tests.redefine7
 
 ! Mixin redefinition did not recompile all necessary words.
 
index 3499c5070a0a97578ae7c03aa176a8a401799796..a79bfb5af5bf46acea9f748aa0f8453ea60666bd 100644 (file)
@@ -1,6 +1,6 @@
 USING: eval tools.test compiler.units vocabs multiline words
 kernel ;
-IN: compiler.tests
+IN: compiler.tests.redefine8
 
 ! Mixin redefinition did not recompile all necessary words.
 
index 25ed5f15db2e28e4aaae556916d658ce4ecbcb8d..2598246472e11e1d45489d20b7dd5e0a750a892b 100644 (file)
@@ -1,6 +1,6 @@
 USING: eval tools.test compiler.units vocabs multiline words
 kernel generic.math ;
-IN: compiler.tests
+IN: compiler.tests.redefine9
 
 ! Mixin redefinition did not recompile all necessary words.
 
index b2b65b5868bcaf8350ced989046fe6191c9c4c30..62c7c31bc2bd3975a6750ec2f4209d0659aedcaf 100644 (file)
@@ -1,4 +1,4 @@
-IN: compiler.tests
+IN: compiler.tests.reload
 USE: vocabs.loader
 
 ! "parser" reload
index 11b27979d5fd518a8de0a229e19885f6f85f4172..82cc97e0f6a4c115ce4c92cf61b5b8b68cea30de 100644 (file)
@@ -1,7 +1,7 @@
 USING: compiler compiler.units tools.test kernel kernel.private
 sequences.private math.private math combinators strings alien
 arrays memory vocabs parser eval ;
-IN: compiler.tests
+IN: compiler.tests.simple
 
 ! Test empty word
 [ ] [ [ ] compile-call ] unit-test
index 4092352fd5930d154a5f305fe444f522c8e64f2a..2ec6fbde9520e6ebe54b7288875a693e2ad29c80 100644 (file)
@@ -1,6 +1,6 @@
 USING: math.private kernel combinators accessors arrays
 generalizations tools.test ;
-IN: compiler.tests
+IN: compiler.tests.spilling
 
 : float-spill-bug ( a -- b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b )
     {
index b317ed3eb5e5ef6a606625919540b1a9cecf020b..1cb11571ef7fa833712c08c55f4cc96d646b6f52 100755 (executable)
@@ -1,4 +1,4 @@
-IN: compiler.tests
+IN: compiler.tests.stack-trace
 USING: compiler tools.test namespaces sequences
 kernel.private kernel math continuations continuations.private
 words splitting grouping sorting accessors ;
index caa214b70cccd1328b42d83ef8279a818c570a3f..fc249d99db30fa1b36b6fa33df68d1954a451928 100644 (file)
@@ -1,4 +1,4 @@
-IN: compiler.tests
+IN: compiler.tests.tuples
 USING: kernel tools.test compiler.units compiler ;
 
 TUPLE: color red green blue ;