Tests - Cleanup (disabling TCP Window Size module test)
authorJohn Hodge <[email protected]>
Fri, 23 May 2014 00:21:05 +0000 (08:21 +0800)
committerJohn Hodge <[email protected]>
Fri, 23 May 2014 00:21:05 +0000 (08:21 +0800)
Tools/NetTest_Runner/main.c
Usermode/Libraries/Makefile.tpl

index 57ac080..05b455f 100644 (file)
@@ -26,7 +26,7 @@ int main(int argc, char *argv[])
        t_test  *tests[] = {
                Test_ARP_Basic,
                Test_TCP_Basic,
-               Test_TCP_WindowSizes,
+               //Test_TCP_WindowSizes,
                Test_TCP_Reset,
                NULL
                };
index 79bb845..d04a6ff 100644 (file)
@@ -65,7 +65,8 @@ utest-run: $(UTESTS:%=runtest-%)
        @echo > /dev/null
 
 $(UTESTS:%=runtest-%): runtest-%: TEST_% EXP_%.txt
-       ./TEST_$* | diff EXP_$*.txt -
+       @echo --- [TEST] $*
+       @./TEST_$* | diff EXP_$*.txt -
 
 clean:
        $(RM) $(_BIN) $(_XBIN) $(OBJ) $(_BIN).dsm $(DEPFILES) $(EXTRACLEAN)
@@ -117,12 +118,14 @@ $(OUTPUTDIR)Libs/%:
 
 obj-native/%.no: %.c
        @mkdir -p $(dir $@)
-       $(NCC) -g -c $< -o $@ -Wall -std=gnu99 -MD -MP -MF [email protected] '-D_SysDebug(f,v...)=fprintf(stderr,"DEBUG "f"\n",##v)' -include stdio.h
+       @echo [CC Native] -o $@
+       @$(NCC) -g -c $< -o $@ -Wall -std=gnu99 -MD -MP -MF [email protected] '-D_SysDebug(f,v...)=fprintf(stderr,"DEBUG "f"\n",##v)' -include stdio.h
 
 TEST_%: obj-native/TEST_%.no obj-native/%.no
-       $(NCC) -g -o $@ $^
+       @echo [CC Native] -o $@
+       @$(NCC) -g -o $@ $^
 
-.SECONDARY: %.no
+.PRECIOUS: $(UTESTS:%=obj-native/%.no) $(UTESTS:%=obj-native/TEST_%.no)
 
 -include $(UTESTS:%=obj-native/TEST_%.no.dep)
 -include $(UTESTS:%=obj-native/%.no.dep)

UCC git Repository :: git.ucc.asn.au