testInterp.vbs 258 B

123456789101112
  1. set o = CreateObject("Python.Interpreter")
  2. if o.Eval("1+1") <> 2 Then
  3. WScript.Echo "Eval('1+1') failed"
  4. bFailed = True
  5. end if
  6. if bFailed then
  7. WScript.Echo "*********** VBScript tests failed *********"
  8. else
  9. WScript.Echo "VBScript test worked OK"
  10. end if