File: testsuite

package info (click to toggle)
fasttext 0.9.2%2Bds-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,952 kB
  • sloc: cpp: 5,459; python: 2,427; javascript: 635; sh: 621; makefile: 106; xml: 81; perl: 43
file content (9 lines) | stat: -rwxr-xr-x 341 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/bin/bash

set -e

for py in $(py3versions -s 2> /dev/null)
do echo "Testing with $py in $(pwd):"
   # Execute simplified version of runtests.py
   $py -c "import unittest; from fasttext.tests import gen_unit_tests; unittest.TextTestRunner(verbosity=3).run(unittest.TestLoader().loadTestsFromTestCase(gen_unit_tests(verbose=False)))"
done