diff --git a/IPython/testing/tools.py b/IPython/testing/tools.py
index 053ffba..fa0b7e4 100644
--- a/IPython/testing/tools.py
+++ b/IPython/testing/tools.py
@@ -259,7 +259,7 @@ def ipexec_validate(fname, expected_out, expected_err='',
 
     import nose.tools as nt
 
-    out, err = ipexec(fname)
+    out, err = ipexec(fname, options)
     #print 'OUT', out  # dbg
     #print 'ERR', err  # dbg
     # If there are any errors, we must check those befor stdout, as they may be