VirtualBox

Changeset 72204 in vbox for trunk/src


Ignore:
Timestamp:
May 14, 2018 4:19:59 PM (7 years ago)
Author:
vboxsync
Message:

testboxscript: integrate ramdisk-based testing for the near-diskless systems we have

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testboxscript/win/autoexec-testbox.cmd

    r69447 r72204  
    3131set exe=python.exe
    3232for /f %%x in ('tasklist /NH /FI "IMAGENAME eq %exe%"') do if %%x == %exe% goto end
    33 %SystemDrive%\Python27\python.exe %SystemDrive%\testboxscript\testboxscript\testboxscript.py --testrsrc-server-type=cifs --builds-server-type=cifs
     33
     34if not exist %SystemRoot%\System32\imdisk.exe goto defaulttest
     35
     36REM Take presence of imdisk.exe as order to test in ramdisk.
     37set RAMDRIVE=D:
     38if exist %RAMDRIVE%\TEMP goto skip
     39imdisk -a -s 16GB -m %RAMDRIVE% -p "/fs:ntfs /q /y"
     40:skip
     41
     42set VBOX_INSTALL_PATH=%RAMDRIVE%\VBoxInstall
     43set TMP=%RAMDRIVE%\TEMP
     44set TEMP=%TMP%
     45
     46mkdir %VBOX_INSTALL_PATH%
     47mkdir %TMP%
     48
     49set TESTBOXSCRIPT_OPTS=--scratch-root=%RAMDRIVE%\testbox
     50
     51:defaulttest
     52%SystemDrive%\Python27\python.exe %SystemDrive%\testboxscript\testboxscript\testboxscript.py --testrsrc-server-type=cifs --builds-server-type=cifs %TESTBOXSCRIPT_OPTS%
    3453pause
    3554:end
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette