From 8c2076d4f203b396fd23a3bcd8d2b4c0f657ecf1 Mon Sep 17 00:00:00 2001 From: WebFreak001 Date: Mon, 25 Nov 2019 17:10:20 +0100 Subject: [PATCH] better gen_expected script --- tests/gen_expected.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/gen_expected.sh b/tests/gen_expected.sh index a5520f7..b49ae4a 100755 --- a/tests/gen_expected.sh +++ b/tests/gen_expected.sh @@ -1,10 +1,12 @@ +#!/usr/bin/env bash + argsFile=$1.args if [ -e ${argsFile} ]; then args=$(cat ${argsFile}) fi echo "Args:" ${args} -dfmt --brace_style=allman ${args} $1.d > allman/$1.d.ref -dfmt --brace_style=otbs ${args} $1.d > otbs/$1.d.ref +../bin/dfmt --brace_style=allman ${args} $1.d > allman/$1.d.ref +../bin/dfmt --brace_style=otbs ${args} $1.d > otbs/$1.d.ref echo "------------------" echo "allman:"