Allow tests to be specified in the DSL
Allow tests to be specified in the DSL

Tests can now be specified as a block in the DSL. A temporary test
directory is set up automatically when calling Formula#test. The
semantics of the test remain the same: the block can either raise an
exception or return false to signal failure.

Signed-off-by: Jack Nagel <43386ce32af96f5c56f2a88e458cb94cebee3751@gmail.com>

gregory-nisbet/brew,tonyg/homebrew,reelsense/brew,maxim-belkin/brew,reitermarkus/brew,claui/brew,reelsense/brew,Homebrew/brew,hanxue/linuxbrew,JCount/brew,Linuxbrew/brew,staticfloat/brew,pseudocody/brew,mahori/brew,vitorgalvao/brew,sjackman/homebrew,ilovezfs/brew,DomT4/brew,vitorgalvao/brew,JCount/brew,gordonmcshane/homebrew,palxex/brew,palxex/brew,palxex/brew,ilovezfs/brew,EricFromCanada/brew,sjackman/homebrew,Linuxbrew/brew,hanxue/linuxbrew,rwhogg/brew,aw1621107/brew,mgrimes/brew,gregory-nisbet/brew,vitorgalvao/brew,mahori/brew,MikeMcQuaid/brew,EricFromCanada/brew,muellermartin/dist,AnastasiaSulyagina/brew,reelsense/brew,nandub/brew,rwhogg/brew,amar-laksh/brew_sudo,Linuxbrew/brew,EricFromCanada/brew,JCount/brew,Homebrew/brew,MikeMcQuaid/brew,DomT4/brew,Linuxbrew/brew,alyssais/brew,bfontaine/brew,mistydemeo/homebrew,jmsundar/brew,konqui/brew,sjackman/homebrew,bfontaine/brew,DomT4/brew,EricFromCanada/brew,Homebrew/brew,staticfloat/brew,toonetown/homebrew,konqui/brew,toonetown/homebrew,hanxue/linuxbrew,maxim-belkin/brew,mgrimes/brew,mahori/brew,reitermarkus/brew,muellermartin/dist,jmsundar/brew,staticfloat/brew,amar-laksh/brew_sudo,pseudocody/brew,amar-laksh/brew_sudo,nandub/brew,maxim-belkin/brew,MikeMcQuaid/brew,AnastasiaSulyagina/brew,mistydemeo/homebrew,zmwangx/brew,gordonmcshane/homebrew,zmwangx/brew,claui/brew,claui/brew,alyssais/brew,zmwangx/brew,gregory-nisbet/brew,konqui/brew,aw1621107/brew,mahori/brew,reitermarkus/brew,bfontaine/brew,mistydemeo/homebrew,jmsundar/brew,konqui/brew,sjackman/homebrew,pseudocody/brew,tonyg/homebrew,toonetown/homebrew,claui/brew,JCount/brew,gordonmcshane/homebrew,Homebrew/brew,nandub/brew,aw1621107/brew,AnastasiaSulyagina/brew,DomT4/brew,reitermarkus/brew,mgrimes/brew,muellermartin/dist,tonyg/homebrew,rwhogg/brew,nandub/brew,alyssais/brew,vitorgalvao/brew,ilovezfs/brew,MikeMcQuaid/brew