Skip to content

Commit

Permalink
smoke
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Sep 12, 2024
1 parent b8e9a06 commit b24412c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 39 deletions.
57 changes: 19 additions & 38 deletions tests/smoke/Commands/compile-dependencies-package-juvix.smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -102,8 +101,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -171,8 +169,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -217,8 +214,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -278,8 +274,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "Dep1";
defaultPackage@?{name := "Dep1";
version := mkVersion 0 1 0;
dependencies :=
[path ".juvix-build/stdlib/";
Expand All @@ -302,8 +297,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib/";
Expand Down Expand Up @@ -417,8 +411,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -511,8 +504,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -543,8 +535,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -617,8 +608,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "Dep1";
defaultPackage@?{name := "Dep1";
version := mkVersion 0 1 0;
dependencies :=
[path ".juvix-build/stdlib/";
Expand Down Expand Up @@ -654,8 +644,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib/";
Expand Down Expand Up @@ -729,8 +718,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -766,8 +754,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -816,8 +803,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -862,8 +848,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -908,8 +893,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -979,8 +963,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -1031,8 +1014,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down Expand Up @@ -1095,8 +1077,7 @@ tests:
import PackageDescription.V2 open;
package : Package :=
defaultPackage
{name := "HelloWorld";
defaultPackage@?{name := "HelloWorld";
version := mkVersion 0 0 1;
dependencies :=
[path ".juvix-build/stdlib";
Expand Down
2 changes: 1 addition & 1 deletion tests/smoke/Commands/compile-dependencies.smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ tests:
cat <<-EOF > Package.juvix
module Package;
import PackageDescription.V2 open;
package : Package := defaultPackage {dependencies := [defaultStdlib ; git "dep1" "$temp/dep" "main"]}
package : Package := defaultPackage@?{dependencies := [defaultStdlib ; git "dep1" "$temp/dep" "main"]}
EOF
cat <<-EOF > HelloWorld.juvix
Expand Down

0 comments on commit b24412c

Please sign in to comment.