File: pypyrun.sh

package info (click to toggle)
myhdl 0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,728 kB
  • sloc: python: 25,033; ansic: 2,203; makefile: 243; sh: 206
file content (28 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash

echo > pypystats.dat

tests="
timer
lfsr24
randgen
longdiv
findmax
"

for test in $tests
do
echo Test: $test >> pypystats.dat
echo ===== >> pypystats.dat


echo pypy >> pypystats.dat
echo ---- >> pypystats.dat
/usr/bin/time -o pypystats.dat -a -p pypy test_$test.py > ${test}_pypy.out
echo >> pypystats.dat


done