forked from newspeaklanguage/newspeak
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNS2SqueakCompilerTestingConfiguration.ns
More file actions
22 lines (19 loc) · 1.08 KB
/
NS2SqueakCompilerTestingConfiguration.ns
File metadata and controls
22 lines (19 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Newspeak3
'NS2Squeak'
class NS2SqueakCompilerTestingConfiguration packageTestsUsing: manifest = (
(* A replacement of NSCompilerTestConfiguration to pass a pluggable testing strategy to NSCompilerTesting. See the class comment of InImageNSCompilerTestingStrategy for a description of testing strategies.
Copyright 2011 Vassili Bykov
Licensed under the Apache License, Version 2.0 (the ''License''); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 *)
|
runtime = manifest BootstrapRuntimeForSqueak packageUsing: manifest.
NSCompilerTesting = manifest NSCompilerTesting.
InImageNSCompilerTestingStrategy = manifest InImageNSCompilerTestingStrategy.
|) (
public testModulesUsingPlatform: platform minitest: minitest ^<Collection> = (
| strategy mirrors |
mirrors:: (runtime using: platform squeak VMMirror new) mirrors.
strategy:: InImageNSCompilerTestingStrategy platform: platform mirrors: mirrors.
^{NSCompilerTesting usingPlatform: platform testingStrategy: strategy minitest: minitest}
)
) : (
)