hake: removing an unknown warning option from the x86_64 target
authorAdam Turowski <adam.turowski@inf.ethz.ch>
Tue, 11 Jul 2017 09:02:54 +0000 (11:02 +0200)
committerAdam Turowski <adam.turowski@inf.ethz.ch>
Tue, 11 Jul 2017 09:02:54 +0000 (11:02 +0200)
harness: do an actual read in the webserver stress test

Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>

hake/X86_64.hs
tools/harness/tests/webserver.py

index dd01bd3..d45eb20 100644 (file)
@@ -35,7 +35,6 @@ ourCommonFlags = [ Str "-m64",
                    Str "-fno-stack-protector",
                    Str "-Wno-unused-but-set-variable",
                    Str "-Wno-packed-bitfield-compat",
-                   Str "-Wno-frame-address",
                    Str "-D__x86__" ]
 
 cFlags = ArchDefaults.commonCFlags
index 8e60e73..d618dba 100644 (file)
@@ -115,7 +115,7 @@ class WebserverTest(WebCommon):
                 if (r.status / 100) != 2 :
                     print "HTTP request failed for %d" % (i)
                 assert((r.status / 100) == 2) # check for success response
-
+                data = r.read()
                 # Reset failure count after sucessful retrival
                 failure_count = 0
                 c.close()