Print this page
3442 sgs checks should be run in normal builds

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/Makefile.check
          +++ new/usr/src/cmd/Makefile.check
↓ open down ↓ 137 lines elided ↑ open up ↑
 138  138          tsol/labeld                     \
 139  139          tsol/tnctl                      \
 140  140          tsol/tnd                        \
 141  141          tsol/tsol-zones                 \
 142  142          vscan/vscand                    \
 143  143          xvm/ipagent                     \
 144  144          ypcmd/yppasswd                  \
 145  145          ypcmd/ypupdated                 \
 146  146          zonestat/zonestatd
 147  147  
 148      -$(CLOSED_BUILD)MANIFEST_SUBDIRS +=              \
 149      -        $(CLOSED)/cmd/cmd-inet/usr.lib/in.iked
 150      -
 151      -DTEST_SUBDIRS= \
 152      -        dtrace/test/tst
      148 +MISC_SUBDIRS=           \
      149 +        dtrace/test/tst \
      150 +        sgs
 153  151  
 154  152  .KEEP_STATE:
 155  153  
 156  154  # Manifests cannot be checked in parallel, because we are using the global
 157  155  # repository that is in $(SRC)/cmd/svc/seed/global.db.  This is a
 158  156  # repository that is built from the manifests in this workspace, whereas
 159  157  # the build machine's repository may be out of sync with these manifests.
 160  158  # Because we are using a private repository, svccfg-native must start up a
 161  159  # private copy of configd-native.  We cannot have multiple copies of
 162  160  # configd-native trying to access global.db simultaneously.
 163  161  
 164  162  .NO_PARALLEL:
 165  163  
 166      -check: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS)
      164 +check: svccfg_check $(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS)
 167  165  
 168  166  svccfg_check:
 169  167          @$(ECHO) "building requirements for svccfg check ..."; \
 170  168          (cd $(SRC)/cmd/svc/seed && pwd && $(MAKE) $(MFLAGS) global.db)
 171  169  
 172      -$(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(DTEST_SUBDIRS): FRC
      170 +$(MANIFEST_TOPDIRS) $(MANIFEST_SUBDIRS) $(MISC_SUBDIRS): FRC
 173  171          @cd $@; pwd; $(MAKE) check
 174  172  
 175  173  FRC:
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX