summaryrefslogblamecommitdiffstats
path: root/tests/os-dependent-primitives
blob: c0438afe18a6994e776b5f86c0498f2362f48226 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                          
# -*- sh -*-
# See LICENSE file for copyright and license details.

typeisas () {
	get-datatype-description.tu $osn $archn $(lookupnum "$types" $1) $os $arch $1 > $a
	get-datatype-description.tu $osn $archn $(lookupnum "$types" $2) $os $arch $2 > $b
	diff -u $a $b
}

for os in $(getnamelist OS); do
	osn=$(getnum OS $os)
	if issupported $os; then
		. $(printf '%s\n' $os | tr '[A-Z]' '[a-z]')/tests/os-dependent-primitives
	fi
done