Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@ public loc RASCAL = |mvn://org.rascalmpl--rascal--0.41.0-RC15/|;
public loc TYPEPAL = |mvn://org.rascalmpl--typepal--0.14.8/|;
public loc OUTDATED_TYPEPAL
= |mvn://org.rascalmpl--typepal--0.14.1/|;
public loc RASCAL_RC67 = |mvn://org.rascalmpl--rascal--0.41.0-RC67/|;

public loc DRAMBIGUITY = |mvn://org.rascalmpl--drambiguity--0.1.2/|;
public loc FLYBYTES = |mvn://org.rascalmpl--flybytes--0.1.5/|;
public loc SALIX_CORE = |mvn://org.rascalmpl--salix-core--0.2.7/|;
public loc SALIX_CONTRIB = |mvn://org.rascalmpl--salix-contrib--0.2.7/|;
public loc RASCAL_LSP = |mvn://org.rascalmpl--rascal-lsp--2.21.2/|;
public loc PHP_ANALYSIS = |mvn://org.rascalmpl--php-analysis--0.2.5-SNAPSHOT/|;
public loc JAVA_AIR = |mvn://org.rascalmpl--java-air--1.0.0-RC2/|;

public loc REPO = |file:///Users/paulklint/git/|;
public loc COMPILED_RASCAL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,27 @@ test bool incompatibleVersionsOfBinaryLibrary(){
return checkExpectErrors("Check", ["Review of dependencies, reconfiguration or recompilation needed: binary module `TP` depends (indirectly) on incompatible module(s)"], core.pcfg, remove = [rascal, typepal, core]);
}

test bool mixedRascalVersions() {
// This test project has a dependency on:
// * Rascal 0.41.0-RC67
// * java-air 1.0.0-RC2, which was built using Rascal 0.41.0-RC35
// The test module imports:
// * a standard library module from 0.41.0-RC67
// * a library module of which the packaged tpl was built using 0.41.0-RC35
clearMemory();
project_name = "test-project";
test_project =
createProject(
project_name,
("Test": "import IO;
'import lang::java::m3::Core;"),
createPathConfig(project_name)
[libs=[RASCAL_RC67, JAVA_AIR]]
[srcs=[src(project_name)]]
);
return checkExpectNoErrors("Test", test_project.pcfg, remove = [test_project]);
}

// ---- Binary compatibility of two TModels -----------------------------------

// ---- Utilities -------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ function download() {

# these should be synced with `TestConfigs.rsc`
download "org.rascalmpl" "rascal" "0.41.0-RC15"
download "org.rascalmpl" "rascal" "0.41.0-RC67"
download "org.rascalmpl" "typepal" "0.14.8"
download "org.rascalmpl" "typepal" "0.14.1"
download "org.rascalmpl" "drambiguity" "0.1.2"
download "org.rascalmpl" "flybytes" "0.1.5"
download "org.rascalmpl" "salix-core" "0.2.7"
download "org.rascalmpl" "salix-contrib" "0.2.7"
download "org.rascalmpl" "rascal-lsp" "2.21.2"
download "org.rascalmpl" "rascal-lsp" "2.21.2"
download "org.rascalmpl" "java-air" "1.0.0-RC2"
Loading