-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/improve-uri-recognition
- Loading branch information
Showing
21 changed files
with
244 additions
and
140 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
Submodule den
updated
3 files
+61 −3 | src/den-filesystem.adb | |
+9 −3 | src/den-filesystem.ads | |
+3 −0 | src/den.ads |
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
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
Empty file.
4 changes: 4 additions & 0 deletions
4
testsuite/tests/cache/sync-attrs/my_index/crates/crate/.gitignore
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,4 @@ | ||
/obj/ | ||
/bin/ | ||
/alire/ | ||
/config/ |
12 changes: 12 additions & 0 deletions
12
testsuite/tests/cache/sync-attrs/my_index/crates/crate/alire.toml
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,12 @@ | ||
name = "crate" | ||
description = "Sample crate with an action" | ||
version = "0.1.0-dev" | ||
|
||
authors = ["Alejandro R. Mosteo"] | ||
maintainers = ["Alejandro R. Mosteo <[email protected]>"] | ||
maintainers-logins = ["mosteo"] | ||
licenses = "MIT OR Apache-2.0 WITH LLVM-exception" | ||
website = "" | ||
tags = [] | ||
|
||
executables = ["crate"] |
22 changes: 22 additions & 0 deletions
22
testsuite/tests/cache/sync-attrs/my_index/crates/crate/crate.gpr
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,22 @@ | ||
with "config/crate_config.gpr"; | ||
project Crate is | ||
|
||
for Source_Dirs use ("src/", "config/"); | ||
for Object_Dir use "obj/" & Crate_Config.Build_Profile; | ||
for Create_Missing_Dirs use "True"; | ||
for Exec_Dir use "bin"; | ||
for Main use ("crate.adb"); | ||
|
||
package Compiler is | ||
for Default_Switches ("Ada") use Crate_Config.Ada_Compiler_Switches; | ||
end Compiler; | ||
|
||
package Binder is | ||
for Switches ("Ada") use ("-Es"); -- Symbolic traceback | ||
end Binder; | ||
|
||
package Install is | ||
for Artifacts (".") use ("share"); | ||
end Install; | ||
|
||
end Crate; |
1 change: 1 addition & 0 deletions
1
testsuite/tests/cache/sync-attrs/my_index/crates/crate/myscript.sh
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 @@ | ||
echo "SCRIPT RUN" |
4 changes: 4 additions & 0 deletions
4
testsuite/tests/cache/sync-attrs/my_index/crates/crate/src/crate.adb
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,4 @@ | ||
procedure Crate is | ||
begin | ||
null; | ||
end Crate; |
13 changes: 13 additions & 0 deletions
13
testsuite/tests/cache/sync-attrs/my_index/index/cr/crate/crate-1.0.0.toml
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,13 @@ | ||
description = "Sample crate" | ||
name = "crate" | ||
version = "1.0.0" | ||
licenses = [] | ||
maintainers = ["[email protected]"] | ||
maintainers-logins = ["someone"] | ||
|
||
[[actions]] | ||
command = ["sh", "-c", "./myscript.sh"] | ||
type = "pre-build" | ||
|
||
[origin] | ||
url = "file:../../../crates/crate" |
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 @@ | ||
version = "1.2" |
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,19 @@ | ||
""" | ||
Check that executable attributes are synchronized correctly. We have a | ||
dependency which launches a shell script in its pre-build step; this fails | ||
unless the script is executable, which it should be after syncing. | ||
""" | ||
|
||
from drivers.alr import run_alr, init_local_crate, alr_with | ||
from drivers.asserts import assert_eq | ||
|
||
# Init a crate that will have the test crate as a dependency, thus causing its | ||
# syncing. | ||
|
||
init_local_crate() | ||
alr_with("crate", manual=False, update=False) # Delay syncing to capture output | ||
p = run_alr("build", "--stop-after=pre-build") # Gain some testing time by not building | ||
|
||
assert_eq(p.out, "SCRIPT RUN\n") | ||
|
||
print("SUCCESS") |
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,8 @@ | ||
driver: python-script | ||
build_mode: shared | ||
control: | ||
- [SKIP, "skip_unix", "Test is Unix-only"] | ||
indexes: | ||
compiler_only_index: {} | ||
my_index: | ||
in_fixtures: false |
Oops, something went wrong.