-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix_extra_objects_double_link
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
test/blackbox-tests/test-cases/enabled_if/eif-dune-describe-crash.t
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,32 @@ | ||
$ cat > dune <<EOF | ||
> (executable | ||
> (name test) | ||
> (enabled_if | ||
> (= %{system} unknown))) | ||
> (rule | ||
> (enabled_if | ||
> (= %{system} unknown)) | ||
> (alias runtest) | ||
> (action | ||
> (run ./test.exe))) | ||
> EOF | ||
|
||
$ cat > test.ml <<EOF | ||
> let () = print_string "Hello world" | ||
> EOF | ||
|
||
$ cat > dune-project <<EOF | ||
> (lang dune 3.13) | ||
> (package | ||
> (name pack) | ||
> (allow_empty)) | ||
> EOF | ||
|
||
$ dune build | ||
$ dune runtest | ||
$ dune describe 2>&1 | head -n 5 | ||
Internal error, please report upstream including the contents of _build/log. | ||
Description: | ||
("modules_and_obj_dir: failed lookup", | ||
{ keys = []; for_ = Exe { first_exe = "test" } }) | ||
Raised at Stdune__Code_error.raise in file |