logo       

SVN Commit: OMake Build System [0.9.8.x] (Rev. 11135): msg#00112

Subject: SVN Commit: OMake Build System [0.9.8.x] (Rev. 11135)
- Made the "exit n" Shell aliases work corrently again (only exit from the
  innermost Shell alias, not kill the whole shell session, as it started doing
  after the rev. 11110 fix to bug #679).
  I fixed this by using the ExitParentException idea outlined in
  http://lists.metaprl.org/pipermail/omake-devel/2007-June/000528.html

- Pipelines like "(exit 5)" should not print a "Process group exception" error
  message; instead they should just return the appropriate exit code.
  The fix is simple - just catch the ExitExceptions in appropriate places.

- Pipilines like "false || exit 5" should return the correct error code, not
  0. (This was broken in previous versions of OMake as well).
  My fix is to have Omake_shell_job.create_job execute the PipeCond pipelines
  in the current process. (Added a TODO comment to do the same with the
  right-hand-sides of the PipeCompose pipelines).

- Updated the test suite to catch some of the above problems.
  Also updated the "omake clean" in the test directory to be a bit more
  thorough.

----
Changes:
    +1 -1       omake-branches/0.9.8.x/lib/Pervasives.om
    +1 -0       omake-branches/0.9.8.x/src/build/omake_build.ml
    +3 -1       omake-branches/0.9.8.x/src/build/omake_rule.ml
    +7 -2       omake-branches/0.9.8.x/src/builtin/omake_builtin_base.ml
    +2 -0       omake-branches/0.9.8.x/src/env/omake_exn_print.ml
    +1 -0       omake-branches/0.9.8.x/src/ir/omake_value_type.ml
    +119 -100   omake-branches/0.9.8.x/src/shell/omake_shell_job.ml
    +8 -1       omake-branches/0.9.8.x/test/OMakefile
    +9 -6       omake-branches/0.9.8.x/test/shell/Test3/run.osh
    +18 -0      omake-branches/0.9.8.x/test/shell/Test4/run.osh
 
A hyperlinked version of this commit is available at
http://svn.metaprl.org/commitlogs/omake/2007-06.html#07/06/26.10:30:58


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe