Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch file to solve test cases in one folder
#1
Hi,

Same as the 3-TestRuns folder, create a 8-Test folder and save this msolve.bat file in it. Please remove the txt extension.
Run, it will solve all dat files in 3-TestRuns\Statics\Banded\CurrentRuns folder.

Regards,

Cean

After solving all the cases, you could compare the newly generated *.ANS to the corresponding *.ARC files under the 3-TestRuns\Statics\Banded\Archive folder using these two bat files. Also save and run in 8-test folder. Please remove the txt extension.

cpARC.bat will call compareARC.ps1 to compare the pair of files line by line. compareARC.ps1 is a Window 10 PowerShell's script. It will write the difference into the cpDiff.txt file.

The problem at the moment for me is that the ARC file treat 0 different to my ANS file. One has - sign at the front of 0. I think if the exe is generate by same compiler, there will be no problem.


Attached Files
.txt   msolve.bat.txt (Size: 2.29 KB / Downloads: 1)
.txt   cpArc.bat.txt (Size: 76 bytes / Downloads: 1)
.txt   compareArc.ps1.txt (Size: 8.64 KB / Downloads: 1)
Reply


Messages In This Thread
Batch file to solve test cases in one folder - by ceanwang - 08-24-2020, 10:58 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)