anchor.diff:  :: @copyright 2012, 2013 Thomas Müller thomas.mueller@tmit.eu
   ::
   
  +@echo off
  +
  +set BASEDIR=%~dp0
   set DATADIR=data-autotest
  -set BASEDIR=%~dp0
   
   :: create autoconfig for sqlite, mysql, postgresql and mssql
   echo ^<?php                                      > .\tests\autoconfig-sqlite.php
  
positive.code: goto:eof
  
  :execute_tests
  	echo "Setup environment for %~1 testing ..."
  	:: back to root folder
  	cd %BASEDIR%
  
  
negative.code: 	copy /y %BASEDIR%\tests\autoconfig-%~1.php %BASEDIR%\config\autoconfig.php
  
  	:: trigger installation
  	@echo INDEX
  	call php -f index.php
  	@echo END INDEX
  
  	::test execution
  	@echo "Testing with %~1 ..."
  	cd tests
  	rmdir /s /q coverage-html-%~1
  	md coverage-html-%~1
  	php -f enable_all.php
  
          :: no external files on windows for now
          cd ..
          php occ app:disable files_external
  