Skip to content

Commit

Permalink
Update statistical_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheuzinh0 authored Oct 29, 2024
1 parent 209e8d5 commit 0900ba1
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/statistical_tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Executar testes
name: Executar Geradores

on:
push:
Expand All @@ -16,12 +16,23 @@ jobs:
- name: Verificar código
uses: actions/checkout@v3

- name: Executar "SP800-22"
- name: Criar arquivo de entrada
run: |
./statistical_tests/SP800-22/assess 10000
0
/statistical_tests/output.bin
1
0
10
1
echo -e "0\noutput.bin\n1\n0\n100\n1" > input.txt
- name: Executar "SP800-22" com atraso nas entradas
run: |
#!/bin/bash
{
echo "0"
sleep 0.3
echo "output.bin"
sleep 0.3
echo "1"
sleep 0.3
echo "0"
sleep 0.3
echo "100"
sleep 0.3
echo "1"
} | ./statistical_tests/SP800-22/assess 10000

0 comments on commit 0900ba1

Please sign in to comment.