-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GR-48446] [GR-48602] [GR-48747] [GR-48732] [GR-48685] [GR-46479] Bac…
…kport: tests, fix of Sulong managed deployment, fix for platform tags on Darwin. PullRequest: graalpython/2987
- Loading branch information
Showing
91 changed files
with
2,176 additions
and
1,069 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
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 +1 @@ | ||
{ "overlay": "61d2e798a75f4b48457dda2d3b1d3f2ec83dace7" } | ||
{ "overlay": "4fe59ff78899a09c836fbb7920c8558d5ed786e7" } |
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
170 changes: 170 additions & 0 deletions
170
graalpython/com.oracle.graal.python.test.integration/pom.xml
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 |
---|---|---|
@@ -0,0 +1,170 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2023, 2023, Oracle and/or its affiliates. All rights reserved. | ||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
The Universal Permissive License (UPL), Version 1.0 | ||
Subject to the condition set forth below, permission is hereby granted to any | ||
person obtaining a copy of this software, associated documentation and/or | ||
data (collectively the "Software"), free of charge and under any and all | ||
copyright rights in the Software, and any and all patent rights owned or | ||
freely licensable by each licensor hereunder covering either (i) the | ||
unmodified Software as contributed to or provided by such licensor, or (ii) | ||
the Larger Works (as defined below), to deal in both | ||
(a) the Software, and | ||
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if | ||
one is included with the Software each a "Larger Work" to which the Software | ||
is contributed by such licensors), | ||
without restriction, including without limitation the rights to copy, create | ||
derivative works of, display, perform, and distribute the Software and make, | ||
use, sell, offer for sale, import, export, have made, and have sold the | ||
Software and the Larger Work(s), and to sublicense the foregoing rights on | ||
either these or other terms. | ||
This license is subject to the following condition: | ||
The above copyright notice and either this complete permission notice or at a | ||
minimum a reference to the UPL must be included in all copies or substantial | ||
portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
--> | ||
<!-- | ||
This Maven project can compile and run the integration unit tests independently of | ||
the rest of the GraalPy sources on top of any supported JDK, e.g., OpenJDK, GraalVM JDK, etc. | ||
When testing with custom Maven repository, i.e., locally built, one can pass -Dpolyglot_repo | ||
pointing to the Maven repository, for example: | ||
mvn test -Dpolyglot_repo=file:///some/path/to/repo | ||
Additionally, one can change the polyglot artifacts version with | ||
-Dpolyglot.version=24.0-SNAPSHOT, for example. | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.oracle.graal.python.test</groupId> | ||
<artifactId>integration</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
|
||
<properties> | ||
<maven.compiler.source>17</maven.compiler.source> | ||
<maven.compiler.target>17</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<polyglot.version>23.1.1-dev</polyglot.version> | ||
</properties> | ||
|
||
<build> | ||
<sourceDirectory>src</sourceDirectory> | ||
<resources> | ||
<resource> | ||
<directory>src</directory> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>2.22.2</version> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.maven.surefire</groupId> | ||
<artifactId>surefire-junit4</artifactId> | ||
<version>2.22.0</version> | ||
</dependency> | ||
</dependencies> | ||
<configuration> | ||
<testSourceDirectory>src</testSourceDirectory> | ||
<testClassesDirectory>${project.build.outputDirectory}</testClassesDirectory> | ||
<includes> | ||
<include>**/*.java</include> | ||
</includes> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>Custom central repo</id> | ||
<activation> | ||
<property> | ||
<name>central_repo</name> | ||
</property> | ||
</activation> | ||
<repositories> | ||
<repository> | ||
<id>release</id> | ||
<url>${central_repo}</url> | ||
<releases> | ||
<enabled>true</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
</profile> | ||
<profile> | ||
<id>Custom polyglot repo</id> | ||
<activation> | ||
<property> | ||
<name>polyglot_repo</name> | ||
</property> | ||
</activation> | ||
<repositories> | ||
<repository> | ||
<id>release</id> | ||
<url>${polyglot_repo}</url> | ||
<releases> | ||
<enabled>true</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
</profile> | ||
</profiles> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.graalvm.polyglot</groupId> | ||
<artifactId>polyglot</artifactId> | ||
<version>${polyglot.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.graalvm.polyglot</groupId> | ||
<artifactId>python-community</artifactId> | ||
<version>${polyglot.version}</version> | ||
<scope>runtime</scope> | ||
<type>pom</type> | ||
</dependency> | ||
<dependency> | ||
<!-- See MultiContextTest#testSharingWithStruct --> | ||
<groupId>org.graalvm.polyglot</groupId> | ||
<artifactId>llvm-community</artifactId> | ||
<version>${polyglot.version}</version> | ||
<scope>runtime</scope> | ||
<type>pom</type> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.12</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
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.