Skip to content

Commit

Permalink
#51 eliminates test for Windows, which is failing anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Feb 19, 2024
1 parent 32167c2 commit 46e72f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
raku-version:
- 'latest'
runs-on: ${{ matrix.os }}
Expand All @@ -23,5 +22,5 @@ jobs:
- uses: Raku/setup-raku@v1
with:
raku-version: ${{ matrix.raku-version }}
- name: Test and install Dependencies
- name: Test and install dependencies
run: zef install .
12 changes: 7 additions & 5 deletions t/01-basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ subtest "Can create Makefile", {
ok (("test" ~ %vars<O>).IO ~~ :f), "Object file created";
ok (("test" ~ %vars<EXE>).IO ~~ :f), "Binary was created";
ok qqx/.{ $*SPEC.dir-sep }test%vars<EXE>/ ~~ /^Hello ' ' world\!\n$/,
"Binary runs!";
my $nm-output = shell( "nm .{ $*SPEC.dir-sep }test%vars<EXE>", :out,
:err);
ok $nm-output.err.slurp(:close) ~~ /\s+no/,
"LDFLAGS works - no symbols!";
"Binary runs!";
unless ( $*DISTRO.is-win ) {
my $nm-output = shell("nm .{ $*SPEC.dir-sep }test%vars<EXE>", :out,
:err);
ok $nm-output.err.slurp(:close) ~~ /\s+no/,
"LDFLAGS works - no symbols!";
}
}
else {
skip
Expand Down

0 comments on commit 46e72f6

Please sign in to comment.