diff --git a/approvaltest b/approvaltest index 31b05276..9779a6d4 100755 --- a/approvaltest +++ b/approvaltest @@ -1,6 +1,6 @@ -./cobolcheck -p NUMBERS > approval-test-actual.txt -./cobolcheck -p ALPHA >> approval-test-actual.txt -./cobolcheck -p GREETING >> approval-test-actual.txt -./cobolcheck -p FILECOPY >> approval-test-actual.txt -./cobolcheck -p MOCKTEST >> approval-test-actual.txt -./cobolcheck -p DPICNUMBERS >> approval-test-actual.txt +./GradleTemp/cobolcheck -p NUMBERS > approval-test-actual.txt +./GradleTemp/cobolcheck -p ALPHA >> approval-test-actual.txt +./GradleTemp/cobolcheck -p GREETING >> approval-test-actual.txt +./GradleTemp/cobolcheck -p FILECOPY >> approval-test-actual.txt +./GradleTemp/cobolcheck -p MOCKTEST >> approval-test-actual.txt +./GradleTemp/cobolcheck -p DPICNUMBERS >> approval-test-actual.txt diff --git a/approvaltestWin.cmd b/approvaltestWin.cmd index 37fb6766..9558eab2 100644 --- a/approvaltestWin.cmd +++ b/approvaltestWin.cmd @@ -1 +1 @@ -./cobolcheck -p NUMBERS ALPHA GREETING FILECOPY MOCKTEST DPICNUMBERS > approval-test-actual.txt \ No newline at end of file +./GradleTemp/cobolcheck.cmd -p NUMBERS ALPHA GREETING FILECOPY MOCKTEST DPICNUMBERS > approval-test-actual.txt \ No newline at end of file diff --git a/build.gradle b/build.gradle index 163f3200..e8dbd99f 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ group = 'org.openmainframeproject' description = 'Unit testing framework for Cobol' def approvalExpectedOutput = "approval-test-expected.txt" -def approvalActualOutput = "output/testResults.txt" +def approvalActualOutput = "approval-test-actual.txt" sonarqube { properties { @@ -194,7 +194,7 @@ task prepareDistribution(type: Zip) { def approvalTest = tasks.register("approvalTest", Test) { description 'Run approval test only' - dependsOn fatJar + dependsOn copyJarToBin, copyRunScripts def output = -1 if ("${OS_NAME}" == "linux") {