Skip to content

Commit

Permalink
Edts to testing script
Browse files Browse the repository at this point in the history
  • Loading branch information
cwford committed May 21, 2020
1 parent 08b129b commit 2cb3b8b
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions Scripts/TDAmZorroTest.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ void goLong
OrderMode = 1;

printf("\n\nGoing LONG for...");
return;
for (i = 0; i < numTestAssets; ++i)
{
// Print the asset being selected
Expand Down Expand Up @@ -431,23 +430,26 @@ function run()

set(LOGFILE);

// Is this the initialization run?
if (is(INITRUN))
{
// YES: Print initialization run headding
printf("\nINITIALIZATION RUN...");

// Set initial parameters
initRun();

// Load the plug-in test assets
loadTestAssets();

// Select a dummy asset to start
asset("");
}

// Print run # being entered
if (RunNum > 0)
printf("\nEntered TESTING RUN #%i...", RunNum);
else
printf("\nINITIALIZATION RUN...");


// Is this RUN beyond the initial RUN?
if (RunNum > 0)
{
// NO: Print the run number heading
printf("\nEntered TESTING RUN #%i...", RunNum);

// YES: Is this run an even run?
if (RunNum % 2 == 0)
{
Expand Down

0 comments on commit 2cb3b8b

Please sign in to comment.