-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix in
UnInstallPackages
and restructured tests
- Loading branch information
Showing
984 changed files
with
456 additions
and
134,115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
{r}←RunTestServer y;trapFlag;testFlag;iniFile | ||
{r}←RunTestServer y;trapFlag;testFlag;iniFile;args;bool | ||
⍝ This function is used to run a test server started by the Tatin test cases. | ||
⍝ `testFlag`, if 1, allows additional commands to be executed useful only for tests. | ||
⍝ `trapFlag`, if specified and 1, overwites any INI settings and activates error trapping. | ||
⎕TRAP←0 'S' | ||
r←⍬ | ||
⎕IO←1 ⋄ ⎕ML←1 | ||
(testFlag trapFlag)←2↑y,(≢y)↓¯1 ¯1 | ||
iniFile←'./TestServer/Server/server.ini' | ||
args←2 ⎕NQ #'GetCommandLineArgs' | ||
:If ∨/bool←'SERVERPATH='∘{⍺≡1 ⎕C(≢⍺)↑⍵}¨args | ||
iniFile←((1+≢'serverPath')↓args⊃⍨⍸bool),'/Server/server.ini' | ||
:Else | ||
iniFile←'./TestServer/Server/server.ini' | ||
:EndIf | ||
r←iniFile(PrepareTestServer ##.Plodder.Run)testFlag trapFlag | ||
##.Server.∆SHUTDOWN←0 | ||
⍝Done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
dt←GetFileTime filename | ||
dt←{addFlag}GetFileTime filename | ||
⍝ Returns "Last modified" for "filename".\\ | ||
dt←60 ⎕DT⊂7↑⊃⊃('type' 3)F.Dir filename | ||
⍝ If `addFlag` is specified and 1 one second is added to the time stamp. | ||
dt←60 ⎕DT⊂6↑⊃⊃('type' 3)F.Dir filename | ||
:If 0<⎕NC'addFlag' | ||
'Invalid left argument'Assert addFlag∊0 1 | ||
:AndIf addFlag | ||
dt←0.000001+dt | ||
:EndIf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.