Files
rdkit/Scripts/run_python_tests.py
Ric 880a8e5725 Reformat Python code for 2023.03 release (#6294)
* run yapf

* run isort

---------

Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
2023-04-28 06:53:56 +02:00

24 lines
645 B
Python

#
# Copyright (C) 2018 Greg Landrum
# All Rights Reserved
#
# This file is part of the RDKit.
# The contents are covered by the terms of the BSD license
# which is included in the file license.txt, found at the root
# of the RDKit source tree.
#
import os
import sys
import time
from rdkit import RDConfig, TestRunner
if __name__ == '__main__':
script = 'test_list.py'
os.chdir(RDConfig.RDCodeDir)
t1 = time.time()
failed, nTests = TestRunner.RunScript(script, doLongTests=False, verbose=True)
t2 = time.time()
TestRunner.ReportResults(script, failed, nTests, t2 - t1, verbose=True, dest=sys.stderr)
sys.exit(len(failed))