removed (duplicate) traces
This commit is contained in:
parent
aa4058e32a
commit
2fa94ed777
2
make
2
make
|
@ -27,7 +27,7 @@ tests(){
|
|||
{
|
||||
which python3 && python3 test/generated/test.py src/spec/*.json | awk '{ print "py: "$0 } END{ print "\n"}'
|
||||
which node && node test/generated/test.js src/spec/*.json | awk '{ print "js: "$0 } END{ print "\n"}'
|
||||
} | awk '$2 ~ /src/ { $2=sprintf("%-30s",$2); print $0; } 1' | tee /tmp/log.txt
|
||||
} | awk '$2 ~ /src/ { $2=sprintf("%-30s",$2); print $0; next; } 1' | tee /tmp/log.txt
|
||||
grep error /tmp/log.txt && exit 1 || exit 0
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ class Test {
|
|||
}
|
||||
|
||||
static public function equalMulti(res:haxe.DynamicAccess<Dynamic>, item:Dynamic):Bool {
|
||||
trace(res);
|
||||
var target:Dynamic = res.get(item.expect.input);
|
||||
var str:String = "";
|
||||
if( !target ) return false;
|
||||
|
|
|
@ -182,7 +182,6 @@ Test.test = function(spec) {
|
|||
}
|
||||
};
|
||||
Test.equalMulti = function(res,item) {
|
||||
console.log("src/Test.hx:47:",res);
|
||||
var target = res[item.expect.input];
|
||||
var str = "";
|
||||
if(!target) {
|
||||
|
|
|
@ -425,7 +425,6 @@ class Test:
|
|||
|
||||
@staticmethod
|
||||
def equalMulti(res,item):
|
||||
print(str(res))
|
||||
target = Reflect.field(res,Reflect.field(Reflect.field(item,"expect"),"input"))
|
||||
_hx_str = ""
|
||||
if (not target):
|
||||
|
|
Loading…
Reference in New Issue