Idris2/tests/base/system_info001/run
CodingCellist ec77ad21ab
[ re #1185 ] Add primitive for obtaining number of processors (#1209)
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-03-26 18:27:25 +00:00

7 lines
142 B
Plaintext
Executable File

rm -f expected
echo "$(nproc) processors" > expected
$1 --no-banner --no-color --console-width 0 NumProcessors.idr --exec main
rm -rf build