-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix a few paths and such in github actions script * Move file substitution lines in tests from Makefile to dedicated bash script - for some reason they were not working in my container. Possibly Make v4.3 does not support command substitutions while v4.4 (on my local computer) does?
- Loading branch information
Showing
10 changed files
with
36 additions
and
35 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
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
a.txt | ||
b.txt | ||
a.json | ||
b.json |
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 |
---|---|---|
@@ -1,17 +1,7 @@ | ||
all: | ||
rm -f obs.txt | ||
morloc make -v foo.loc > log | ||
echo '"a"' > a.json | ||
echo '"b"' > b.json | ||
>obs.txt | ||
./nexus.py foo a.json b.json >> obs.txt | ||
./nexus.py foo '"a"' b.json >> obs.txt | ||
./nexus.py foo '"a"' '"b"' >> obs.txt | ||
./nexus.py foo '"a"' <(echo '"b"') >> obs.txt | ||
echo '"b"' | ./nexus.py foo '"a"' /dev/stdin >> obs.txt | ||
|
||
build: | ||
g++ --std=c++17 -o pool-cpp.out pool.cpp -I/home/z/.morloc/include -I. | ||
bash run.sh > obs.txt | ||
|
||
clean: | ||
rm -rf nexus* pool* __pycache__ a.json b.json | ||
rm -rf nexus* pool* a.json b.json |
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 @@ | ||
#!/usr/bin/env bash | ||
echo '"a"' > a.json | ||
echo '"b"' > b.json | ||
./nexus.py foo a.json b.json | ||
./nexus.py foo '"a"' b.json | ||
./nexus.py foo '"a"' '"b"' | ||
./nexus.py foo '"a"' <(echo '"b"') | ||
echo '"b"' | ./nexus.py foo '"a"' /dev/stdin |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
a.txt | ||
b.txt | ||
a.json | ||
b.json |
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 |
---|---|---|
@@ -1,14 +1,7 @@ | ||
all: | ||
rm -f obs.txt | ||
morloc make -v foo.loc > log | ||
echo '"a"' > a.json | ||
echo '"b"' > b.json | ||
>obs.txt | ||
./nexus.py foo a.json b.json >> obs.txt | ||
./nexus.py foo '"a"' b.json >> obs.txt | ||
./nexus.py foo '"a"' '"b"' >> obs.txt | ||
./nexus.py foo '"a"' <(echo '"b"') >> obs.txt | ||
echo '"b"' | ./nexus.py foo '"a"' /dev/stdin >> obs.txt | ||
bash run.sh > obs.txt | ||
|
||
clean: | ||
rm -rf nexus* pool* __pycache__ a.json b.json |
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 @@ | ||
#!/usr/bin/env bash | ||
echo '"a"' > a.json | ||
echo '"b"' > b.json | ||
./nexus.py foo a.json b.json | ||
./nexus.py foo '"a"' b.json | ||
./nexus.py foo '"a"' '"b"' | ||
./nexus.py foo '"a"' <(echo '"b"') | ||
echo '"b"' | ./nexus.py foo '"a"' /dev/stdin |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
a.txt | ||
b.txt | ||
a.json | ||
b.json |
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 |
---|---|---|
@@ -1,14 +1,7 @@ | ||
all: | ||
rm -f obs.txt | ||
morloc make -v foo.loc > log | ||
echo '"a"' > a.json | ||
echo '"b"' > b.json | ||
>obs.txt | ||
./nexus.py foo a.json b.json >> obs.txt | ||
./nexus.py foo '"a"' b.json >> obs.txt | ||
./nexus.py foo '"a"' '"b"' >> obs.txt | ||
./nexus.py foo '"a"' <(echo '"b"') >> obs.txt | ||
echo '"b"' | ./nexus.py foo '"a"' /dev/stdin >> obs.txt | ||
bash run.sh > obs.txt | ||
|
||
clean: | ||
rm -rf nexus* pool* a.json b.json |
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 @@ | ||
#!/usr/bin/env bash | ||
echo '"a"' > a.json | ||
echo '"b"' > b.json | ||
./nexus.py foo a.json b.json | ||
./nexus.py foo '"a"' b.json | ||
./nexus.py foo '"a"' '"b"' | ||
./nexus.py foo '"a"' <(echo '"b"') | ||
echo '"b"' | ./nexus.py foo '"a"' /dev/stdin |