forked from lpereira/hardinfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
35 lines (32 loc) · 1.01 KB
/
test.sh
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
29
30
31
32
33
34
35
DATADER=`pwd`
do_test() {
ARCH="$1"
CPUINFO="$DATADER/$2"
mkdir "build-$ARCH"
cd "build-$ARCH"
cmake ../.. -DOVRARCH=$ARCH -DOVRCPUINFO=\"$CPUINFO\"
make -j
cd ..
}
#do_test x86 data/x86_pent_cpuinfo
#do_test x86 data/x86_amdr7_cpuinfo
#do_test x86 data/x86_pentf00f_cpuinfo
#do_test x86 data/x86_cyrix6x86coma_cpuinfo
#do_test ppc data/ppc_g5_cpuinfo
#do_test ppc data/power8_cpuinfo
#do_test arm data/arm_rpi3_aarch64_cpuinfo
#do_test arm data/arm_jetsontx2_cpuinfo
#do_test sparc data/sparc_m7_cpuinfo
#do_test mips data/mips_loongson_cpuinfo
#do_test alpha data/alpha_as_cpuinfo
#do_test parisc data/parisc_hppa_fortex4_cpuinfo
#do_test ia64 data/ia64_x2_cpuinfo
#do_test m68k data/m68k_sun3_cpuinfo
#do_test sh data/sh_dreamcast_cpuinfo
#do_test sh data/sh_sh3_cpuinfo
#do_test sh data/sh_sh64_cpuinfo
#do_test s390 data/s390_hurcules_cpuinfo
#do_test riscv data/riscv_sim_cpuinfo
#do_test riscv data/riscv_fake_cpuinfo
#do_test e2k data/e2k_elbrus_e1c+_cpuinfo
#do_test e2k data/e2k_elbrus_e8c_cpuinfo