RPA Toolkit
cleanup - 3
authorMartin Stoilov <martin@rpasearch.com>
Sun, 15 May 2011 23:51:50 +0000 (16:51 -0700)
committerMartin Stoilov <martin@rpasearch.com>
Sun, 15 May 2011 23:51:50 +0000 (16:51 -0700)
98 files changed:
build/linux/build.mk
build/template/linux/robject.mk [moved from bldtempl/linux/robject.mk with 100% similarity]
build/template/linux/x86_64/Makefile [moved from bldtempl/linux/x86_64/Makefile with 100% similarity]
tests/datafiles/books.xml [moved from datafiles/books.xml with 100% similarity]
tests/datafiles/books16.xml [moved from datafiles/books16.xml with 100% similarity]
tests/datafiles/getcookie.js [moved from datafiles/getcookie.js with 100% similarity]
tests/datafiles/js.txt [moved from datafiles/js.txt with 100% similarity]
tests/datafiles/js2.txt [moved from datafiles/js2.txt with 100% similarity]
tests/datafiles/name.xml [moved from datafiles/name.xml with 100% similarity]
tests/datafiles/name16.xml [moved from datafiles/name16.xml with 100% similarity]
tests/datapatterns/calc.rpa [moved from datapatterns/calc.rpa with 100% similarity]
tests/datapatterns/dblcalc.rpa [moved from datapatterns/dblcalc.rpa with 100% similarity]
tests/datapatterns/directloop.rpa [moved from datapatterns/directloop.rpa with 100% similarity]
tests/datapatterns/ecma262.rpa [moved from datapatterns/ecma262.rpa with 100% similarity]
tests/datapatterns/indirectloop.rpa [moved from datapatterns/indirectloop.rpa with 100% similarity]
tests/datapatterns/inet.rpa [moved from datapatterns/inet.rpa with 100% similarity]
tests/datapatterns/integer.rpa [moved from datapatterns/integer.rpa with 100% similarity]
tests/datapatterns/intordouble.rpa [moved from datapatterns/intordouble.rpa with 100% similarity]
tests/datapatterns/left.rpa [moved from datapatterns/left.rpa with 100% similarity]
tests/datapatterns/loopy.rpa [moved from datapatterns/loopy.rpa with 100% similarity]
tests/datapatterns/num.rpa [moved from datapatterns/num.rpa with 100% similarity]
tests/datapatterns/number.rpa [moved from datapatterns/number.rpa with 100% similarity]
tests/datapatterns/numexpr.rpa [moved from datapatterns/numexpr.rpa with 100% similarity]
tests/datapatterns/personname.rpa [moved from datapatterns/personname.rpa with 100% similarity]
tests/datapatterns/sentence.rpa [moved from datapatterns/sentence.rpa with 100% similarity]
tests/datapatterns/sip.rpa [moved from datapatterns/sip.rpa with 100% similarity]
tests/datapatterns/sipdoc.rpa [moved from datapatterns/sipdoc.rpa with 100% similarity]
tests/datapatterns/url.rpa [moved from datapatterns/url.rpa with 100% similarity]
tests/datapatterns/word.rpa [moved from datapatterns/word.rpa with 100% similarity]
tests/datapatterns/xml.rpa [moved from datapatterns/xml.rpa with 100% similarity]
tests/datapatterns/yesterday.rpa [moved from datapatterns/yesterday.rpa with 100% similarity]
tests/testmisc/Makefile [moved from tests/Makefile with 100% similarity]
tests/testmisc/asm-add.c [moved from tests/asm-add.c with 100% similarity]
tests/testmisc/asm-adds.c [moved from tests/asm-adds.c with 100% similarity]
tests/testmisc/asm-b.c [moved from tests/asm-b.c with 100% similarity]
tests/testmisc/asm-bitops.c [moved from tests/asm-bitops.c with 100% similarity]
tests/testmisc/asm-bl.c [moved from tests/asm-bl.c with 100% similarity]
tests/testmisc/asm-callback.c [moved from tests/asm-callback.c with 100% similarity]
tests/testmisc/asm-cast.c [moved from tests/asm-cast.c with 100% similarity]
tests/testmisc/asm-clz.c [moved from tests/asm-clz.c with 100% similarity]
tests/testmisc/asm-cmp.c [moved from tests/asm-cmp.c with 100% similarity]
tests/testmisc/asm-div.c [moved from tests/asm-div.c with 100% similarity]
tests/testmisc/asm-eadd.c [moved from tests/asm-eadd.c with 100% similarity]
tests/testmisc/asm-ecmp.c [moved from tests/asm-ecmp.c with 100% similarity]
tests/testmisc/asm-esub.c [moved from tests/asm-esub.c with 100% similarity]
tests/testmisc/asm-loadstore.c [moved from tests/asm-loadstore.c with 100% similarity]
tests/testmisc/asm-mul.c [moved from tests/asm-mul.c with 100% similarity]
tests/testmisc/asm-sbc.c [moved from tests/asm-sbc.c with 100% similarity]
tests/testmisc/asm-shiftops.c [moved from tests/asm-shiftops.c with 100% similarity]
tests/testmisc/asm-stack.c [moved from tests/asm-stack.c with 100% similarity]
tests/testmisc/build/linux/misc-tests.mk [moved from tests/build/linux/misc-tests.mk with 97% similarity]
tests/testmisc/build/linux/x86_64/Makefile [moved from tests/build/linux/x86_64/Makefile with 94% similarity]
tests/testmisc/codegen-test.c [moved from tests/codegen-test.c with 100% similarity]
tests/testmisc/codemap-test.c [moved from tests/codemap-test.c with 100% similarity]
tests/testmisc/common.h [moved from tests/common.h with 100% similarity]
tests/testmisc/ecma262.rpa [moved from tests/ecma262.rpa with 100% similarity]
tests/testmisc/ecma262org.rpa [moved from tests/ecma262org.rpa with 100% similarity]
tests/testmisc/ecma262q.rpa [moved from tests/ecma262q.rpa with 100% similarity]
tests/testmisc/funcarg-test.c [moved from tests/funcarg-test.c with 100% similarity]
tests/testmisc/loop-test.c [moved from tests/loop-test.c with 100% similarity]
tests/testmisc/memalloc-test.c [moved from tests/memalloc-test.c with 100% similarity]
tests/testmisc/opmap-test.c [moved from tests/opmap-test.c with 100% similarity]
tests/testmisc/rarray-test.c [moved from tests/rarray-test.c with 100% similarity]
tests/testmisc/rcarray-test.c [moved from tests/rcarray-test.c with 100% similarity]
tests/testmisc/rharray-test.c [moved from tests/rharray-test.c with 100% similarity]
tests/testmisc/rhash-test.c [moved from tests/rhash-test.c with 100% similarity]
tests/testmisc/rlock-test.c [moved from tests/rlock-test.c with 100% similarity]
tests/testmisc/robject-ver.c [moved from tests/robject-ver.c with 100% similarity]
tests/testmisc/rpagen-test.c [moved from tests/rpagen-test.c with 100% similarity]
tests/testmisc/rvm-test.c [moved from tests/rvm-test.c with 100% similarity]
tests/testmisc/scope-test.c [moved from tests/scope-test.c with 100% similarity]
tests/testmisc/speed-test.c [moved from tests/speed-test.c with 100% similarity]
tests/testmisc/string-test.c [moved from tests/string-test.c with 100% similarity]
tests/testmisc/test-asm.sh [moved from tests/test-asm.sh with 100% similarity]
tests/testmisc/test.js [moved from tests/test.js with 100% similarity]
tests/testmisc/test.php [moved from tests/test.php with 100% similarity]
tests/testrjs/build/linux/testrjs.mk [moved from testrjs/build/linux/testrjs.mk with 96% similarity]
tests/testrjs/build/linux/x86_64/Makefile [moved from testrjs/build/linux/x86_64/Makefile with 94% similarity]
tests/testrjs/rjs-simple.c [moved from testrjs/rjs-simple.c with 100% similarity]
tests/testrpa2/build/linux/testrpa2.mk [moved from testrpa2/build/linux/testrpa2.mk with 97% similarity]
tests/testrpa2/build/linux/x86_64/Makefile [moved from testrpa2/build/linux/x86_64/Makefile with 94% similarity]
tests/testrpa2/common.h [moved from testrpa2/common.h with 100% similarity]
tests/testrpa2/rpacompiler-altexp.c [moved from testrpa2/rpacompiler-altexp.c with 100% similarity]
tests/testrpa2/rpacompiler-class.c [moved from testrpa2/rpacompiler-class.c with 100% similarity]
tests/testrpa2/rpacompiler-exp.c [moved from testrpa2/rpacompiler-exp.c with 100% similarity]
tests/testrpa2/rpacompiler-minusexp.c [moved from testrpa2/rpacompiler-minusexp.c with 100% similarity]
tests/testrpa2/rpacompiler-notexp.c [moved from testrpa2/rpacompiler-notexp.c with 100% similarity]
tests/testrpa2/rpacompiler-rule.c [moved from testrpa2/rpacompiler-rule.c with 100% similarity]
tests/testrpa2/rpacompiler-rulealtrec.c [moved from testrpa2/rpacompiler-rulealtrec.c with 100% similarity]
tests/testrpa2/rpacompiler-ruleloop.c [moved from testrpa2/rpacompiler-ruleloop.c with 100% similarity]
tests/testrpa2/rpacompiler-ruleloopcls.c [moved from testrpa2/rpacompiler-ruleloopcls.c with 100% similarity]
tests/testrpa2/rpacompiler-rulerec.c [moved from testrpa2/rpacompiler-rulerec.c with 100% similarity]
tests/testrpa2/rpaparser-test.c [moved from testrpa2/rpaparser-test.c with 100% similarity]
tests/testrpa2/rpavm-matchchr.c [moved from testrpa2/rpavm-matchchr.c with 100% similarity]
tests/testrpa2/rpavm-matchrng.c [moved from testrpa2/rpavm-matchrng.c with 100% similarity]
tests/testrpa2/rpavm-mnode.c [moved from testrpa2/rpavm-mnode.c with 100% similarity]
tests/testrpa2/rpavm-ref.c [moved from testrpa2/rpavm-ref.c with 100% similarity]
tests/testrpa2/test.sh [moved from testrpa2/test.sh with 100% similarity]

index d974dc6..f2ab5f3 100644 (file)
@@ -3,9 +3,9 @@ all:
        +make -C $(SRCDIR)/rpa2/build/$(OS)/$(ARCHDIR) all
        +make -C $(SRCDIR)/rvm/build/$(OS)/$(ARCHDIR) all
        +make -C $(SRCDIR)/rjs/build/$(OS)/$(ARCHDIR) all
-       +make -C $(SRCDIR)/tests/build/$(OS)/$(ARCHDIR) all
-       +make -C $(SRCDIR)/testrpa2/build/$(OS)/$(ARCHDIR) all
-       +make -C $(SRCDIR)/testrjs/build/$(OS)/$(ARCHDIR) all
+       +make -C $(SRCDIR)/tests/testmisc/build/$(OS)/$(ARCHDIR) all
+       +make -C $(SRCDIR)/tests/testrpa2/build/$(OS)/$(ARCHDIR) all
+       +make -C $(SRCDIR)/tests/testrjs/build/$(OS)/$(ARCHDIR) all
        +make -C $(SRCDIR)/rgrep/build/$(OS)/$(ARCHDIR) all
 
 distclean: clean
@@ -13,9 +13,9 @@ distclean: clean
        +make -C $(SRCDIR)/rpa2/build/$(OS)/$(ARCHDIR) distclean
        +make -C $(SRCDIR)/rvm/build/$(OS)/$(ARCHDIR) distclean
        +make -C $(SRCDIR)/rjs/build/$(OS)/$(ARCHDIR) distclean
-       +make -C $(SRCDIR)/tests/build/$(OS)/$(ARCHDIR) distclean
-       +make -C $(SRCDIR)/testrpa2/build/$(OS)/$(ARCHDIR) distclean
-       +make -C $(SRCDIR)/testrjs/build/$(OS)/$(ARCHDIR) distclean
+       +make -C $(SRCDIR)/tests/testmisc/build/$(OS)/$(ARCHDIR) distclean
+       +make -C $(SRCDIR)/tests/testrpa2/build/$(OS)/$(ARCHDIR) distclean
+       +make -C $(SRCDIR)/tests/testrjs/build/$(OS)/$(ARCHDIR) distclean
        +make -C $(SRCDIR)/rgrep/build/$(OS)/$(ARCHDIR) distclean
 
 clean:
@@ -23,8 +23,8 @@ clean:
        +make -C $(SRCDIR)/rpa2/build/$(OS)/$(ARCHDIR) clean
        +make -C $(SRCDIR)/rvm/build/$(OS)/$(ARCHDIR) clean
        +make -C $(SRCDIR)/rjs/build/$(OS)/$(ARCHDIR) clean
-       +make -C $(SRCDIR)/tests/build/$(OS)/$(ARCHDIR) clean
-       +make -C $(SRCDIR)/testrpa2/build/$(OS)/$(ARCHDIR) clean
-       +make -C $(SRCDIR)/testrjs/build/$(OS)/$(ARCHDIR) clean
+       +make -C $(SRCDIR)/tests/testmisc/build/$(OS)/$(ARCHDIR) clean
+       +make -C $(SRCDIR)/tests/testrpa2/build/$(OS)/$(ARCHDIR) clean
+       +make -C $(SRCDIR)/tests/testrjs/build/$(OS)/$(ARCHDIR) clean
        +make -C $(SRCDIR)/rgrep/build/$(OS)/$(ARCHDIR) clean
 
similarity index 100%
rename from datafiles/js.txt
rename to tests/datafiles/js.txt
similarity index 100%
rename from datafiles/js2.txt
rename to tests/datafiles/js2.txt
similarity index 100%
rename from datafiles/name.xml
rename to tests/datafiles/name.xml
similarity index 100%
rename from tests/Makefile
rename to tests/testmisc/Makefile
similarity index 100%
rename from tests/asm-add.c
rename to tests/testmisc/asm-add.c
similarity index 100%
rename from tests/asm-adds.c
rename to tests/testmisc/asm-adds.c
similarity index 100%
rename from tests/asm-b.c
rename to tests/testmisc/asm-b.c
similarity index 100%
rename from tests/asm-bl.c
rename to tests/testmisc/asm-bl.c
similarity index 100%
rename from tests/asm-cast.c
rename to tests/testmisc/asm-cast.c
similarity index 100%
rename from tests/asm-clz.c
rename to tests/testmisc/asm-clz.c
similarity index 100%
rename from tests/asm-cmp.c
rename to tests/testmisc/asm-cmp.c
similarity index 100%
rename from tests/asm-div.c
rename to tests/testmisc/asm-div.c
similarity index 100%
rename from tests/asm-eadd.c
rename to tests/testmisc/asm-eadd.c
similarity index 100%
rename from tests/asm-ecmp.c
rename to tests/testmisc/asm-ecmp.c
similarity index 100%
rename from tests/asm-esub.c
rename to tests/testmisc/asm-esub.c
similarity index 100%
rename from tests/asm-mul.c
rename to tests/testmisc/asm-mul.c
similarity index 100%
rename from tests/asm-sbc.c
rename to tests/testmisc/asm-sbc.c
similarity index 100%
rename from tests/asm-stack.c
rename to tests/testmisc/asm-stack.c
similarity index 97%
rename from tests/build/linux/misc-tests.mk
rename to tests/testmisc/build/linux/misc-tests.mk
index 4c3e69a..a42d709 100644 (file)
@@ -3,7 +3,7 @@ RLIB_SRCDIR = $(SRCDIR)/rlib
 RVM_SRCDIR = $(SRCDIR)/rvm
 RPA2_SRCDIR = $(SRCDIR)/rpa2
 RAST_SRCDIR = $(SRCDIR)/rast
-TESTS_SRCDIR = $(SRCDIR)/tests
+TESTS_SRCDIR = $(SRCDIR)/tests/testmisc
 INCLUDE = -I$(SRCDIR)/arch/$(OS)/$(ARCHDIR) -I$(ROBJECT_SRCDIR) -I$(RLIB_SRCDIR) -I$(RVM_SRCDIR) -I$(RPA2_SRCDIR)
 
 LIBS =  -L$(ROBJECT_SRCDIR)/build/$(OS)/$(ARCHDIR)/out 
similarity index 94%
rename from tests/build/linux/x86_64/Makefile
rename to tests/testmisc/build/linux/x86_64/Makefile
index 56d7a13..bf68cf7 100644 (file)
@@ -1,7 +1,7 @@
 ARCHDIR = x86_64
 OUTDIR = out
 OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-SRCDIR = ../../../..
+SRCDIR = ../../../../..
 
 
 CC = gcc
similarity index 100%
rename from tests/common.h
rename to tests/testmisc/common.h
similarity index 100%
rename from tests/ecma262.rpa
rename to tests/testmisc/ecma262.rpa
similarity index 100%
rename from tests/loop-test.c
rename to tests/testmisc/loop-test.c
similarity index 100%
rename from tests/rvm-test.c
rename to tests/testmisc/rvm-test.c
similarity index 100%
rename from tests/test-asm.sh
rename to tests/testmisc/test-asm.sh
similarity index 100%
rename from tests/test.js
rename to tests/testmisc/test.js
similarity index 100%
rename from tests/test.php
rename to tests/testmisc/test.php
similarity index 96%
rename from testrjs/build/linux/testrjs.mk
rename to tests/testrjs/build/linux/testrjs.mk
index 40a8e02..75a7fb7 100644 (file)
@@ -3,7 +3,7 @@ RLIB_SRCDIR = $(SRCDIR)/rlib
 RVM_SRCDIR = $(SRCDIR)/rvm
 RPA2_SRCDIR = $(SRCDIR)/rpa2
 RJS_SRCDIR = $(SRCDIR)/rjs
-TESTS_SRCDIR = $(SRCDIR)/testrjs
+TESTS_SRCDIR = $(SRCDIR)/tests/testrjs
 INCLUDE = -I$(SRCDIR)/arch/$(OS)/$(ARCHDIR) -I$(ROBJECT_SRCDIR) -I$(RLIB_SRCDIR) -I$(RVM_SRCDIR) -I$(RJS_SRCDIR) -I$(RPA2_SRCDIR) 
 
 LIBS =  -L$(ROBJECT_SRCDIR)/build/$(OS)/$(ARCHDIR)/out 
similarity index 94%
rename from testrjs/build/linux/x86_64/Makefile
rename to tests/testrjs/build/linux/x86_64/Makefile
index f543b97..16406c6 100644 (file)
@@ -1,7 +1,7 @@
 ARCHDIR = x86_64
 OUTDIR = out
 OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-SRCDIR = ../../../..
+SRCDIR = ../../../../..
 
 
 CC = gcc
similarity index 97%
rename from testrpa2/build/linux/testrpa2.mk
rename to tests/testrpa2/build/linux/testrpa2.mk
index 2954f87..a46b428 100644 (file)
@@ -1,7 +1,7 @@
 RLIB_SRCDIR = $(SRCDIR)/rlib
 RVM_SRCDIR = $(SRCDIR)/rvm
 RPA2_SRCDIR = $(SRCDIR)/rpa2
-TESTS_SRCDIR = $(SRCDIR)/testrpa2
+TESTS_SRCDIR = $(SRCDIR)/tests/testrpa2
 INCLUDE = -I$(SRCDIR)/arch/$(OS)/$(ARCHDIR) -I$(RLIB_SRCDIR) -I$(RVM_SRCDIR) -I$(RPA2_SRCDIR)
 
 
similarity index 94%
rename from testrpa2/build/linux/x86_64/Makefile
rename to tests/testrpa2/build/linux/x86_64/Makefile
index 0674df3..9923aa3 100644 (file)
@@ -1,7 +1,7 @@
 ARCHDIR = x86_64
 OUTDIR = out
 OS = $(shell uname | tr "[:upper:]" "[:lower:]")
-SRCDIR = ../../../..
+SRCDIR = ../../../../..
 
 
 CC = gcc
similarity index 100%
rename from testrpa2/common.h
rename to tests/testrpa2/common.h
similarity index 100%
rename from testrpa2/test.sh
rename to tests/testrpa2/test.sh