]>
Commit | Line | Data |
---|---|---|
4f3e367c A |
1 | #!/bin/sh |
2 | ||
3 | hide() | |
4 | { | |
5 | $PROCTOR set_hidden $1 1 >/dev/null | |
6 | } | |
7 | ||
8 | if [ -z "$1" ] | |
9 | then echo "Usage: mkld HOST [ DBPATH ]" >&2 | |
10 | exit 1 | |
11 | fi | |
12 | ||
13 | if [ -z "$PROCTOR" ] | |
14 | then PROCTOR=proctor | |
15 | fi | |
16 | ||
17 | DBNAME="$2" | |
18 | [ -z "$DBNAME" ] && DBNAME=ld | |
19 | PROCTOR="$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 | ||
52 | for TOOL in gcc g++ objc obj-c++ libstdc++ | |
53 | do hide ${TOOL}_opts | |
54 | done | |
55 | ||
56 | hide LANG | |
57 | hide LC_CTYPE | |
58 | hide LC_MESSAGES | |
59 | hide LC_ALL | |
60 | hide TMPDIR | |
61 | hide GCC_EXEC_PREFIX | |
62 | hide COMPILER_PATH | |
63 | hide LIBRARY_PATH | |
64 | hide LANG | |
65 | hide CPATH | |
66 | hide C_INCLUDE_PATH | |
67 | hide CPLUS_INCLUDE_PATH | |
68 | hide OBJC_INCLUDE_PATH | |
69 | hide DEPENDENCIES_OUTPUT | |
70 | hide 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 |