Index: trunk/tests/remote/text.ref =================================================================== --- trunk/tests/remote/text.ref (revision 33287) +++ trunk/tests/remote/text.ref (nonexistent) @@ -1,9 +0,0 @@ -msg 'cmd' - list (text): - str (text): 1/'a' - str (text): 1/'e' - str (text): 1/'_' - str (text): 1/'#' - str (text): 3/'foo' - str (text): 3/'bar' - Index: trunk/tests/remote/test_all.sh =================================================================== --- trunk/tests/remote/test_all.sh (revision 33287) +++ trunk/tests/remote/test_all.sh (nonexistent) @@ -1,23 +0,0 @@ -#!/bin/sh -fail=0 -all=0 -for ref in *.ref -do - bn=${ref%%.ref} - ./test_parse < $bn.msg > $bn.out - diff -u $bn.ref $bn.out - if test $? = 0 - then - rm $bn.out - else - fail=$(($fail+1)) - fi - all=$(($all+1)) -done - -if test $fail = 0 -then - echo "remote: *** QC PASS ***" -else - echo "remote: FAIL: $fail of $all" -fi Property changes on: trunk/tests/remote/test_all.sh ___________________________________________________________________ Deleted: svn:executable ## -1 +0,0 ## -* \ No newline at end of property Index: trunk/tests/remote/lists.msg =================================================================== --- trunk/tests/remote/lists.msg (revision 33287) +++ trunk/tests/remote/lists.msg (nonexistent) @@ -1 +0,0 @@ -bar((A B)(1 2 3){B=a B=b {C=11 C=12}}) Index: trunk/tests/remote/bin.ref =================================================================== --- trunk/tests/remote/bin.ref (revision 33287) +++ trunk/tests/remote/bin.ref (nonexistent) @@ -1,18 +0,0 @@ -msg 'cmd' - list (bin): - str (bin): 1/'1' - str (bin): 2/'ab' - str (bin): 3/'123' - -msg 'empty' - list (bin): - str (bin): 0/'(null)' - str (bin): 0/'(null)' - str (bin): 0/'(null)' - -msg 'nasty' - list (bin): - str (bin): 3/'{} -' - str (bin): 3/' #=' - Index: trunk/tests/remote/simple.ref =================================================================== --- trunk/tests/remote/simple.ref (revision 33287) +++ trunk/tests/remote/simple.ref (nonexistent) @@ -1,6 +0,0 @@ -msg 'foo' - list (text): - -msg 'bar' - list (bin): - Index: trunk/tests/remote/lists.ref =================================================================== --- trunk/tests/remote/lists.ref (revision 33287) +++ trunk/tests/remote/lists.ref (nonexistent) @@ -1,16 +0,0 @@ -msg 'bar' - list (text): - list (text): - str (text): 1/'A' - str (text): 1/'B' - list (text): - str (text): 1/'1' - str (text): 1/'2' - str (text): 1/'3' - list (bin): - str (bin): 1/'a' - str (bin): 1/'b' - list (bin): - str (bin): 2/'11' - str (bin): 2/'12' - Index: trunk/tests/remote/text.msg =================================================================== --- trunk/tests/remote/text.msg (revision 33287) +++ trunk/tests/remote/text.msg (nonexistent) @@ -1 +0,0 @@ -cmd(a e _ # foo bar) Index: trunk/tests/remote/test_parse.c =================================================================== --- trunk/tests/remote/test_parse.c (revision 33287) +++ trunk/tests/remote/test_parse.c (nonexistent) @@ -1,41 +0,0 @@ -#include -#include -#include "proto_lowcommon.h" -#include "proto_lowparse.h" -#include "proto_lowdbg.h" - -int main() -{ - int line = 1, col = 1; - proto_ctx_t pctx; - - memset(&pctx, 0, sizeof(pctx)); - - for(;;) { - parse_res_t res; - int c = getchar(); - if (c == EOF) - return -1; - if (c == '\n') { - col = 1; - line++; - } - else - col++; - res = parse_char(&pctx, c); - switch(res) { - case PRES_ERR: - printf("parse error at %d:%d\n", line, col); - return 1; - case PRES_GOT_MSG: - printf("msg '%s'\n", pctx.pcmd); - proto_node_print(pctx.targ, 1); - printf("\n"); - proto_node_free(pctx.targ); - break; - case PRES_PROCEED: - break; - } - } - return 0; -} Index: trunk/tests/remote/bin.msg =================================================================== --- trunk/tests/remote/bin.msg (revision 33287) +++ trunk/tests/remote/bin.msg (nonexistent) @@ -1,6 +0,0 @@ -cmd{B=1 C=ab D=123} -empty{A= A= A=} -nasty{D={} - D= #=} - - Index: trunk/tests/remote/Makefile =================================================================== --- trunk/tests/remote/Makefile (revision 33287) +++ trunk/tests/remote/Makefile (nonexistent) @@ -1,18 +0,0 @@ -all: test_parse - -ROOT=../.. -include $(ROOT)/Makefile.conf -REM=$(ROOT)/src_3rd/librnd/plugins/hid_remote -CFLAGS = $(PCB_RND_C89FLAGS) -g -I$(REM) -I$(ROOT)/src -I$(ROOT)/src_3rd -I$(ROOT) - - -test_parse: test_parse.o - $(CC) $(LDFLAGS) -o test_parse test_parse.o $(LDLIBS) - -test_parse.o: test_parse.c $(REM)/proto_lowcommon.h $(REM)/proto_lowparse.h $(REM)/proto_lowdbg.h - -test: - @./test_all.sh - -clean: - -$(SCCBOX) rm -f test_parse test_parse.o Index: trunk/tests/remote/simple.msg =================================================================== --- trunk/tests/remote/simple.msg (revision 33287) +++ trunk/tests/remote/simple.msg (nonexistent) @@ -1,2 +0,0 @@ -foo() -bar{} Index: trunk/tests/Makefile =================================================================== --- trunk/tests/Makefile (revision 33287) +++ trunk/tests/Makefile (revision 33288) @@ -6,7 +6,6 @@ cd pcb-printf && $(MAKE) all && $(MAKE) test cd uniq_name && $(MAKE) all && $(MAKE) test cd propedit && $(MAKE) all && $(MAKE) test - cd remote && $(MAKE) all && $(MAKE) test cd drc_pstk_hbrk && $(MAKE) all && $(MAKE) test # cd gsch2pcb-rnd && $(MAKE) all && $(MAKE) test cd drc_query && $(MAKE) test @@ -25,7 +24,6 @@ cd pcb-printf && $(MAKE) clean cd uniq_name && $(MAKE) clean cd propedit && $(MAKE) clean - cd remote && $(MAKE) clean cd drc_pstk_hbrk && $(MAKE) clean # cd gsch2pcb-rnd && $(MAKE) clean cd drc_query && $(MAKE) clean