Commits

Denis Bilenko  committed 12cae57

testrunner.py: don't enforce unique runid

  • Participants
  • Parent commits 1bfb6ed
  • Tags 0.12.0-preview

Comments (0)

Files changed (1)

File greentest/testrunner.py

     if not args:
         args = glob.glob('test_*.py')
     fail = False
-    if options.db:
-        db = sqlite3.connect(options.db)
-        cursor = db.cursor()
-        results = cursor.execute('select * from test where runid=?', (options.runid, )).fetchall() or \
-                  cursor.execute('select * from testcase where runid=?', (options.runid, )).fetchall()
-        if results:
-            sys.exit('Entries with such runid already exists')
     uname = platform.uname()[0]
     for arg in args:
         if options.db: