]> git.saurik.com Git - apple/ld64.git/blame - FireOpal/unit-tests/bin/mkld
ld64-85.2.1.tar.gz
[apple/ld64.git] / FireOpal / unit-tests / bin / mkld
CommitLineData
4f3e367c
A
1#!/bin/sh
2
3hide()
4{
5 $PROCTOR set_hidden $1 1 >/dev/null
6}
7
8if [ -z "$1" ]
9 then echo "Usage: mkld HOST [ DBPATH ]" >&2
10 exit 1
11fi
12
13if [ -z "$PROCTOR" ]
14 then PROCTOR=proctor
15fi
16
17DBNAME="$2"
18[ -z "$DBNAME" ] && DBNAME=ld
19PROCTOR="$PROCTOR $1 $DBNAME"
20
21$PROCTOR tools gcc g++ objc obj-c++ libstdc++ ld ld ld_classic cctools
22$PROCTOR sysattrs \
23 ld64="ld64" \
24 ld="ld (ld_classic)" \
25 gcc="GCC" \
26 cctools="cctools" \
27 os="OS Build" \
28 processor=Processor \
29 platform=Platform \
30 hostname="Hostname" \
31 gcc_opts="gcc options" \
32 g++_opts="g++ options" \
33 objc_opts="objc options" \
34 obj-c++_opts="obj-c++ options" \
35 libstdc++_opts="libstdc++ options" \
36 LANG="LANG environment variable" \
37 LC_CTYPE="LC_CTYPE environment variable" \
38 LC_MESSAGES="LC_MESSAGES environment variable" \
39 LC_ALL="LC_ALL environment variable" \
40 TMPDIR="TMPDIR environment variable" \
41 GCC_EXEC_PREFIX="GCC_EXEC_PREFIX environment variable" \
42 COMPILER_PATH="COMPILER_PATH environment variable" \
43 LIBRARY_PATH="LIBRARY_PATH environment variable" \
44 LANG="LANG environment variable" \
45 CPATH="CPATH environment variable" \
46 C_INCLUDE_PATH="C_INCLUDE_PATH environment variable" \
47 CPLUS_INCLUDE_PATH="CPLUS_INCLUDE_PATH environment variable" \
48 OBJC_INCLUDE_PATH="OBJC_INCLUDE_PATH environment variable" \
49 DEPENDENCIES_OUTPUT="DEPENDENCIES_OUTPUT environment variable" \
50 SUNPRO_DEPENDENCIES="SUNPRO_DEPENDENCIES environment variable" \
51
52for TOOL in gcc g++ objc obj-c++ libstdc++
53 do hide ${TOOL}_opts
54done
55
56hide LANG
57hide LC_CTYPE
58hide LC_MESSAGES
59hide LC_ALL
60hide TMPDIR
61hide GCC_EXEC_PREFIX
62hide COMPILER_PATH
63hide LIBRARY_PATH
64hide LANG
65hide CPATH
66hide C_INCLUDE_PATH
67hide CPLUS_INCLUDE_PATH
68hide OBJC_INCLUDE_PATH
69hide DEPENDENCIES_OUTPUT
70hide SUNPRO_DEPENDENCIES
71
72$PROCTOR results PASS=1 XFAIL=1 KFAIL=1 FAIL=0 XPASS=0 KPASS=0 UNRESOLVED=0 TIMEDOUT=0 UNSUPPORTED=0 UNTESTED=0
73$PROCTOR severities logline NOTE WARNING ERROR