fix(test): silence command to check for Nix
This commit is contained in:
parent
3cc3f6332d
commit
8f4463782c
5 changed files with 5 additions and 5 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
echo "Building executables..."
|
echo "Building executables..."
|
||||||
|
|
||||||
cd "${FLAKE:-$(dirname $0)}"
|
cd "${FLAKE:-$(dirname $0)}"
|
||||||
if command -v nix; then
|
if command -v nix &>/dev/null; then
|
||||||
producer="$(nix build --no-link --print-out-paths .#a2-p1-producer)/bin/producer"
|
producer="$(nix build --no-link --print-out-paths .#a2-p1-producer)/bin/producer"
|
||||||
consumer="$(nix build --no-link --print-out-paths .#a2-p1-consumer)/bin/consumer"
|
consumer="$(nix build --no-link --print-out-paths .#a2-p1-consumer)/bin/consumer"
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
echo "Building executable..."
|
echo "Building executable..."
|
||||||
|
|
||||||
cd "${FLAKE:-$(dirname $0)}"
|
cd "${FLAKE:-$(dirname $0)}"
|
||||||
if command -v nix; then
|
if command -v nix &>/dev/null; then
|
||||||
bidirectional="$(nix build --no-link --print-out-paths .#a2-p2-bidirectional)/bin/bidirectional"
|
bidirectional="$(nix build --no-link --print-out-paths .#a2-p2-bidirectional)/bin/bidirectional"
|
||||||
else
|
else
|
||||||
gcc bidirectional.c -o bidirectional
|
gcc bidirectional.c -o bidirectional
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
echo "Building executables..."
|
echo "Building executables..."
|
||||||
|
|
||||||
cd "${FLAKE:-$(dirname $0)}"
|
cd "${FLAKE:-$(dirname $0)}"
|
||||||
if command -v nix; then
|
if command -v nix &>/dev/null; then
|
||||||
producer="$(nix build --no-link --print-out-paths .#a2-p3-producer)/bin/producer"
|
producer="$(nix build --no-link --print-out-paths .#a2-p3-producer)/bin/producer"
|
||||||
consumer="$(nix build --no-link --print-out-paths .#a2-p3-consumer)/bin/consumer"
|
consumer="$(nix build --no-link --print-out-paths .#a2-p3-consumer)/bin/consumer"
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
echo "Building executables..."
|
echo "Building executables..."
|
||||||
|
|
||||||
cd "${FLAKE:-$(dirname $0)}"
|
cd "${FLAKE:-$(dirname $0)}"
|
||||||
if command -v nix; then
|
if command -v nix &>/dev/null; then
|
||||||
producer="$(nix build --no-link --print-out-paths .#a3-producer)/bin/producer"
|
producer="$(nix build --no-link --print-out-paths .#a3-producer)/bin/producer"
|
||||||
consumer="$(nix build --no-link --print-out-paths .#a3-consumer)/bin/consumer"
|
consumer="$(nix build --no-link --print-out-paths .#a3-consumer)/bin/consumer"
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
echo "Building executable..."
|
echo "Building executable..."
|
||||||
|
|
||||||
cd "${FLAKE:-$(dirname $0)}"
|
cd "${FLAKE:-$(dirname $0)}"
|
||||||
if command -v nix; then
|
if command -v nix &>/dev/null; then
|
||||||
cpu_schedulers="$(nix build --no-link --print-out-paths .#cpu-schedulers)/bin/cpu-schedulers"
|
cpu_schedulers="$(nix build --no-link --print-out-paths .#cpu-schedulers)/bin/cpu-schedulers"
|
||||||
else
|
else
|
||||||
make
|
make
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue