os

An operating system
git clone https://erai.gay/code/os/
Log | Files | Refs | README | LICENSE

test.sh (886B)


      1 #!/bin/sh
      2 
      3 MACHINE="$(uname -m)"
      4 LIBS="bufio.om lib.om alloc.om syscall.om syscall.${MACHINE}.om"
      5 CRYPTO="ed25519.om sha512.om sha256.om chacha20.om poly1305.om aes.om rsa.om"
      6 
      7 ./cc1 -m ${MACHINE} ${LIBS} ${CRYPTO} chacha20_test.om -o chacha20_test -n chacha20_test.lines
      8 ./cc1 -m ${MACHINE} ${LIBS} ${CRYPTO} ed25519_test.om -o ed25519_test -n ed25519_test.lines
      9 ./cc1 -m ${MACHINE} ${LIBS} ${CRYPTO} poly1305_test.om -o poly1305_test -n poly1305_test.lines
     10 ./cc1 -m ${MACHINE} ${LIBS} ${CRYPTO} sha256_test.om -o sha256_test -n sha256_test.lines
     11 ./cc1 -m ${MACHINE} ${LIBS} ${CRYPTO} sha512_test.om -o sha512_test -n sha512_test.lines
     12 ./cc1 -m ${MACHINE} ${LIBS} ${CRYPTO} x25519_test.om -o x25519_test -n x25519_test.lines
     13 ./cc1 -m ${MACHINE} ${LIBS} ${CRYPTO} aes_test.om -o aes_test -n aes_test.lines
     14 ./cc1 -m ${MACHINE} ${LIBS} ${CRYPTO} rsa_test.om -o rsa_test -n rsa_test.lines