some cleanup before matrix
authorglenrendes <glenda@reasoningtechnology.com>
Tue, 23 Apr 2019 14:24:51 +0000 (16:24 +0200)
committerglenrendes <glenda@reasoningtechnology.com>
Tue, 23 Apr 2019 14:24:51 +0000 (16:24 +0200)
module/da/test/results/results_2019-04-19T09:41:00Z [new file with mode: 0644]
module/da/test/results/results_2019-04-23T14:20:14Z_passed [new file with mode: 0644]
module/da/test/results_2019-04-19T09:41:00Z [deleted file]
module/da/test/src/test_da.cli.c
module/da/test/src/test_da.lib.c
module/da/test/src/test_da.lib.h

diff --git a/module/da/test/results/results_2019-04-19T09:41:00Z b/module/da/test/results/results_2019-04-19T09:41:00Z
new file mode 100644 (file)
index 0000000..2649648
--- /dev/null
@@ -0,0 +1,78 @@
+Hello Emacs
+
+2019-04-19T09:46:09Z
+glendawest045@phoenix§~/subu/module/da§
+> make dist-clean dep lib
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc dist-clean
+for i in tmp/da.lib.o tmp/makefile-cc.deps; do rm $i || true; done 
+for i in ; do [ -e $i ] && rm $i || true; done 
+rm include/da.h || true
+rm lib/libda.a || true
+if [ -e tmp/makefile-cc.deps ]; then rm tmp/makefile-cc.deps; fi
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc dep
+C compiler only deps
+deps for C linking
+cp src/da.lib.h include/da.h
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc lib
+gcc -std=gnu11 -fPIC -Isrc -Iinclude -I/home/glendawest045/subu/module/share/include -ggdb -O0 -Werror -DDEBUG -DDEBUGDB  -o tmp/da.lib.o -c src/da.lib.c
+ar rcs lib/libda.a  tmp/da.lib.o
+
+2019-04-19T09:46:27Z
+glendawest045@phoenix§~/subu/module/da§
+> cd test/
+
+2019-04-19T09:47:29Z
+glendawest045@phoenix§~/subu/module/da/test§
+> make dist-clean lib exec 
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc dist-clean
+for i in tmp/test_da.cli.o tmp/makefile-cc.deps tmp/test_da.lib.o; do rm $i || true; done 
+for i in  exec/test_da; do [ -e $i ] && rm $i || true; done 
+rm include/test.h || true
+rm: cannot remove 'include/test.h': No such file or directory
+rm lib/libtest.a || true
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc lib
+gcc -std=gnu11 -fPIC -Iinclude -I../include -ggdb -DDEBUG -DDEBUGDB  -o tmp/test_da.lib.o -c src/test_da.lib.c
+ar rcs lib/libtest.a  tmp/test_da.lib.o
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc exec
+make sub_exec
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc sub_exec
+make[3]: *** No rule to make target 'exec/test_da', needed by 'sub_exec'.  Stop.
+make[2]: *** [makefile:31: sub_exec] Error 2
+make[1]: *** [/home/glendawest045/subu/tool/lib/makefile-cc:164: exec] Error 2
+make: *** [makefile:23: exec] Error 2
+
+2019-04-19T09:47:43Z
+glendawest045@phoenix§~/subu/module/da/test§
+> make dist-clean dep lib exec 
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc dist-clean
+for i in tmp/test_da.lib.o; do rm $i || true; done 
+for i in  exec/test_da; do [ -e $i ] && rm $i || true; done 
+rm include/test.h || true
+rm: cannot remove 'include/test.h': No such file or directory
+rm lib/libtest.a || true
+if [ -e tmp/makefile-cc.deps ]; then rm tmp/makefile-cc.deps; fi
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc dep
+C compiler only deps
+deps for C linking
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc lib
+gcc -std=gnu11 -fPIC -Iinclude -I../include -ggdb -DDEBUG -DDEBUGDB  -o tmp/test_da.lib.o -c src/test_da.lib.c
+ar rcs lib/libtest.a  tmp/test_da.lib.o
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc exec
+make sub_exec
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc sub_exec
+gcc -std=gnu11 -fPIC -Iinclude -I../include -ggdb -DDEBUG -DDEBUGDB  -o tmp/test_da.cli.o -c src/test_da.cli.c
+gcc -o exec/test_da tmp/test_da.cli.o -Llib -L../lib -ltest -lda
+
+2019-04-19T09:48:09Z
+glendawest045@phoenix§~/subu/module/da/test§
+> cd exec/
+
+2019-04-19T09:48:12Z
+glendawest045@phoenix§~/subu/module/da/test/exec§
+> ./test_da 
+test_da_push_alloc_0 failed
+failed 1 of 21 tests
+
+2019-04-19T09:48:14Z
+glendawest045@phoenix§~/subu/module/da/test/exec§
+> 
\ No newline at end of file
diff --git a/module/da/test/results/results_2019-04-23T14:20:14Z_passed b/module/da/test/results/results_2019-04-23T14:20:14Z_passed
new file mode 100644 (file)
index 0000000..a82fc93
--- /dev/null
@@ -0,0 +1,25 @@
+Hello Emacs
+
+
+2019-04-23T14:20:14Z
+glendawest045@phoenix§~/subu/module/da/test§
+> make lib exec
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc lib
+make[1]: Nothing to be done for 'lib'.
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc exec
+make sub_exec
+/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc sub_exec
+make[3]: Nothing to be done for 'sub_exec'.
+
+2019-04-23T14:20:40Z
+glendawest045@phoenix§~/subu/module/da/test§
+> cd exec/
+
+2019-04-23T14:20:45Z
+glendawest045@phoenix§~/subu/module/da/test/exec§
+> ./test_da 
+passed all 21 tests
+
+2019-04-23T14:20:47Z
+glendawest045@phoenix§~/subu/module/da/test/exec§
+> 
\ No newline at end of file
diff --git a/module/da/test/results_2019-04-19T09:41:00Z b/module/da/test/results_2019-04-19T09:41:00Z
deleted file mode 100644 (file)
index 2649648..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-Hello Emacs
-
-2019-04-19T09:46:09Z
-glendawest045@phoenix§~/subu/module/da§
-> make dist-clean dep lib
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc dist-clean
-for i in tmp/da.lib.o tmp/makefile-cc.deps; do rm $i || true; done 
-for i in ; do [ -e $i ] && rm $i || true; done 
-rm include/da.h || true
-rm lib/libda.a || true
-if [ -e tmp/makefile-cc.deps ]; then rm tmp/makefile-cc.deps; fi
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc dep
-C compiler only deps
-deps for C linking
-cp src/da.lib.h include/da.h
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc lib
-gcc -std=gnu11 -fPIC -Isrc -Iinclude -I/home/glendawest045/subu/module/share/include -ggdb -O0 -Werror -DDEBUG -DDEBUGDB  -o tmp/da.lib.o -c src/da.lib.c
-ar rcs lib/libda.a  tmp/da.lib.o
-
-2019-04-19T09:46:27Z
-glendawest045@phoenix§~/subu/module/da§
-> cd test/
-
-2019-04-19T09:47:29Z
-glendawest045@phoenix§~/subu/module/da/test§
-> make dist-clean lib exec 
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc dist-clean
-for i in tmp/test_da.cli.o tmp/makefile-cc.deps tmp/test_da.lib.o; do rm $i || true; done 
-for i in  exec/test_da; do [ -e $i ] && rm $i || true; done 
-rm include/test.h || true
-rm: cannot remove 'include/test.h': No such file or directory
-rm lib/libtest.a || true
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc lib
-gcc -std=gnu11 -fPIC -Iinclude -I../include -ggdb -DDEBUG -DDEBUGDB  -o tmp/test_da.lib.o -c src/test_da.lib.c
-ar rcs lib/libtest.a  tmp/test_da.lib.o
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc exec
-make sub_exec
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc sub_exec
-make[3]: *** No rule to make target 'exec/test_da', needed by 'sub_exec'.  Stop.
-make[2]: *** [makefile:31: sub_exec] Error 2
-make[1]: *** [/home/glendawest045/subu/tool/lib/makefile-cc:164: exec] Error 2
-make: *** [makefile:23: exec] Error 2
-
-2019-04-19T09:47:43Z
-glendawest045@phoenix§~/subu/module/da/test§
-> make dist-clean dep lib exec 
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc dist-clean
-for i in tmp/test_da.lib.o; do rm $i || true; done 
-for i in  exec/test_da; do [ -e $i ] && rm $i || true; done 
-rm include/test.h || true
-rm: cannot remove 'include/test.h': No such file or directory
-rm lib/libtest.a || true
-if [ -e tmp/makefile-cc.deps ]; then rm tmp/makefile-cc.deps; fi
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc dep
-C compiler only deps
-deps for C linking
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc lib
-gcc -std=gnu11 -fPIC -Iinclude -I../include -ggdb -DDEBUG -DDEBUGDB  -o tmp/test_da.lib.o -c src/test_da.lib.c
-ar rcs lib/libtest.a  tmp/test_da.lib.o
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc exec
-make sub_exec
-/usr/bin/make --no-print-directory -f /home/glendawest045/subu/tool/lib/makefile-cc sub_exec
-gcc -std=gnu11 -fPIC -Iinclude -I../include -ggdb -DDEBUG -DDEBUGDB  -o tmp/test_da.cli.o -c src/test_da.cli.c
-gcc -o exec/test_da tmp/test_da.cli.o -Llib -L../lib -ltest -lda
-
-2019-04-19T09:48:09Z
-glendawest045@phoenix§~/subu/module/da/test§
-> cd exec/
-
-2019-04-19T09:48:12Z
-glendawest045@phoenix§~/subu/module/da/test/exec§
-> ./test_da 
-test_da_push_alloc_0 failed
-failed 1 of 21 tests
-
-2019-04-19T09:48:14Z
-glendawest045@phoenix§~/subu/module/da/test/exec§
-> 
\ No newline at end of file
index 3d600a3..ecd79ea 100644 (file)
@@ -29,7 +29,6 @@ int main(){
       test_da_free_0,
       test_da_emptyq_0,
       test_da_length_0,
-      test_da_push_alloc_0,
       NULL};
   char *test_names[] =
     {
@@ -54,7 +53,6 @@ int main(){
       "test_da_free_0",
       "test_da_emptyq_0",
       "test_da_length_0",
-      "test_da_push_alloc_0",
       NULL};
 
   // call tests
index b3f53b8..4e872c1 100644 (file)
@@ -698,33 +698,6 @@ bool test_da_length_0(){
   return result;
 }
 
-//still failing
-//tests da_push_alloc(){
-bool test_da_push_alloc_0(){
-  Da da;
-  Da *da_pt = &da;
-  da_alloc(da_pt, sizeof(char));
-  char cats[] = "cats";
-  da_push(da_pt, &cats[0]);
-  da_push(da_pt, &cats[1]);
-  da_push(da_pt, &cats[2]);
-  da_push(da_pt, &cats[3]);
-
-  //save end point and rewind
-  char *stop = da.end;
-  da_rewind(da_pt);
-  bool flag1 = da.base == da.end;
-
-  //allocate for pushes but don't change data
-  char *next = da_pt->base;
-  bool flag2 = next != da_pt->end;
-  while(flag2 && next != stop){
-    next = da_push_alloc(da_pt);
-    flag2 = next != da_pt->end;
-  }
-  
-  return flag1 && flag2;
-}
 
 /*
   Functions               
@@ -738,7 +711,6 @@ bool test_da_push_alloc_0(){
 -da_boundq                   
 -da_index 
 -da_strings_exists_0                 
-da_push_alloc
 -da_push                   
 -da_pop                    
 da_endq                     
@@ -779,6 +751,5 @@ test_da_alloc_0
 test_da_free_0
 test_da_emptyq_0
 test_da_length_0
-test_da_push_alloc_0
 
 */
index f0b797b..1cc5f8e 100644 (file)
@@ -22,6 +22,5 @@ bool test_da_alloc_0();
 bool test_da_free_0();
 bool test_da_emptyq_0();
 bool test_da_length_0();
-bool test_da_push_alloc_0();
 
 #endif