From 2fa94ed77703ac3e06a4ac60c6bc9ab6e30108de Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Thu, 30 Mar 2023 21:32:36 +0200 Subject: [PATCH] removed (duplicate) traces --- make | 2 +- src/Test.hx | 1 - test/generated/test.js | 1 - test/generated/test.py | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/make b/make index 3a99416..328002e 100755 --- a/make +++ b/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 } diff --git a/src/Test.hx b/src/Test.hx index e76ab4c..bc1f321 100644 --- a/src/Test.hx +++ b/src/Test.hx @@ -44,7 +44,6 @@ class Test { } static public function equalMulti(res:haxe.DynamicAccess, item:Dynamic):Bool { -trace(res); var target:Dynamic = res.get(item.expect.input); var str:String = ""; if( !target ) return false; diff --git a/test/generated/test.js b/test/generated/test.js index 5209464..4bbf7d4 100644 --- a/test/generated/test.js +++ b/test/generated/test.js @@ -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) { diff --git a/test/generated/test.py b/test/generated/test.py index 9b495fc..61e2cb7 100644 --- a/test/generated/test.py +++ b/test/generated/test.py @@ -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):