Skip to content

Commit b87b854

Browse files
committed
Infer correct executable by OS
1 parent cc05317 commit b87b854

4 files changed

Lines changed: 26 additions & 4 deletions

File tree

pom.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.applitools.imagetester</groupId>
66
<artifactId>ImageTester</artifactId>
7-
<version>3.6.0</version>
7+
<version>3.6.1</version>
88
<packaging>jar</packaging>
99
<properties>
1010
<maven.compiler.source>1.8</maven.compiler.source>
@@ -19,6 +19,26 @@
1919
</repositories>
2020

2121
<dependencies>
22+
<dependency>
23+
<groupId>com.applitools</groupId>
24+
<artifactId>eyes-universal-core-win</artifactId>
25+
<version>RELEASE</version>
26+
</dependency>
27+
<dependency>
28+
<groupId>com.applitools</groupId>
29+
<artifactId>eyes-universal-core-mac</artifactId>
30+
<version>RELEASE</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>com.applitools</groupId>
34+
<artifactId>eyes-universal-core-linux</artifactId>
35+
<version>RELEASE</version>
36+
</dependency>
37+
<dependency>
38+
<groupId>com.applitools</groupId>
39+
<artifactId>eyes-universal-core-alpine</artifactId>
40+
<version>RELEASE</version>
41+
</dependency>
2242
<dependency>
2343
<groupId>com.applitools</groupId>
2444
<artifactId>eyes-universal-core-arm</artifactId>

src/main/java/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Manifest-Version: 1.0
22
Main-Class: com.applitools.imagetester.ImageTester
3-
Implementation-Version: 3.6.0
3+
Implementation-Version: 3.6.1
44

src/main/java/com/applitools/imagetester/ImageTester.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import com.applitools.imagetester.lib.Utils;
2727

2828
public class ImageTester {
29-
private static final String cur_ver = "3.6.0";
29+
private static final String cur_ver = "3.6.1";
3030

3131
public static void main(String[] args) {
3232

@@ -55,6 +55,7 @@ public static void main(String[] args) {
5555
runTestWithBatchMapper(logger, cmd);
5656
}
5757

58+
5859
Config config = new Config();
5960
config.apiKey = cmd.getOptionValue("k", System.getenv(ApplitoolsConstants.APPLITOOLS_API_KEY));
6061
config.serverUrl = cmd.getOptionValue("s", System.getenv(ApplitoolsConstants.APPLITOOLS_SERVER_URL));
@@ -121,6 +122,7 @@ public static void main(String[] args) {
121122
config.setMatchTimeout(cmd.getOptionValue("mt", null));
122123
config.setProperties(cmd.getOptionValue("pr", null));
123124

125+
124126
// Full page for ac regions capability
125127
if (cmd.hasOption("arr") && config.accessibilityRegularTextRegions == null) {
126128
config.accessibilityRegularTextFullPage = cmd.hasOption("arr") && config.accessibilityRegularTextRegions == null;

src/main/java/com/applitools/imagetester/Suite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public static Suite create(File file, Config conf, TestExecutor executor) {
3131
conf.splitSteps = true;
3232
return new Suite(file, conf, executor);
3333
}
34-
3534
private Suite(File file, Config conf, TestExecutor executor) {
3635
conf.logger.reportDiscovery(file);
3736
executor_ = executor;
@@ -40,6 +39,7 @@ private Suite(File file, Config conf, TestExecutor executor) {
4039
throw new RuntimeException(
4140
String.format("Fatal! The path %s does not exists \n", file.getAbsolutePath()));
4241
try {
42+
4343
if (file.isFile()) {
4444
// If regex filter exists and matches file name, don't process file
4545
if (conf.regexFileNameFilter != null

0 commit comments

Comments
 (0)