summaryrefslogtreecommitdiffstats
path: root/test/run_tests.py
AgeCommit message (Expand)AuthorFilesLines
2021-04-16tests: cpus awarenessKlement Sekera1-94/+176
2021-04-12tests: support attaching to existing vppKlement Sekera1-4/+9
2021-03-17tests: remove shm handlingKlement Sekera1-17/+4
2021-02-10nat: fix EI hairpinning thread safetyKlement Sekera1-0/+2
2021-01-22tests: add generalized tags for tests, use them for run-solo testsAndrew Yourtchenko1-5/+5
2021-01-20tests: do not skip solo-run tests if running within a single job and all rema...Andrew Yourtchenko1-8/+7
2020-08-27tests: "force solo" testcase supportAndrew Yourtchenko1-6/+46
2020-01-16tests: fix TypeError in run_tests.pyPaul Vinciguerra1-4/+5
2019-12-20tests: don't prompt to launch gdb for sanity test casePaul Vinciguerra1-5/+0
2019-11-05misc: Fix python scripts shebang lineRenato Botelho do Couto1-1/+1
2019-11-05tests: support setting random seedKlement Sekera1-0/+5
2019-11-05tests: avoid test runner hanging on child test process joinAndrew Yourtchenko1-1/+13
2019-10-29tests: fix TEST= filtering for python3Klement Sekera1-1/+1
2019-10-21classify: tests to support python3Ole Troan1-1/+1
2019-07-24tests: add cpu/shm info to test runner outputPaul Vinciguerra1-1/+13
2019-07-09tests: treat all truthy env vars the same wayPaul Vinciguerra1-5/+4
2019-07-03tests: fix FORCE_FOREGROUNDjuraj.linkes1-1/+7
2019-05-08make test: introduce COREDUMP_COMPRESS optionKlement Sekera1-13/+16
2019-03-18tests: Speedup tests by 30%.Paul Vinciguerra1-0/+1
2019-03-07make-test: Python pep8 compliance for sequencesNaveen Joy1-13/+13
2019-02-26make test: Add exception handling around subprocess.Paul Vinciguerra1-3/+13
2019-01-11Fix interactive testsjuraj.linkes1-2/+4
2018-12-20Tests: Cleanup @skip decorator.Paul Vinciguerra1-1/+1
2018-12-14Fix test resultsjuraj.linkes1-19/+23
2018-12-10Test framework: StringIO fixes for Python3Ole Troan1-1/+5
2018-12-07Test reader thread hardeningjuraj.linkes1-103/+111
2018-11-30make test: print TEST= values for failed testsKlement Sekera1-4/+4
2018-11-29make test: create virtualenv under /test/Klement Sekera1-4/+5
2018-11-26Split non-parallel testsuitejuraj.linkes1-19/+8
2018-11-22Revert "Fix instance method call in test/framework.py"Ole Trøan1-2/+6
2018-11-22Fix instance method call in test/framework.pyPaul Vinciguerra1-6/+2
2018-11-09Fix logging into multiple filesjuraj.linkes1-1/+1
2018-10-10Setup, teardown, DEBUG=core, FAILFAST fixesjuraj.linkes1-130/+227
2018-10-03test framework: add shell-style wildcard matching to filenamesAndrew Yourtchenko1-2/+5
2018-09-20VPP-1421: Reworked results gatheringjuraj.linkes1-150/+170
2018-09-18fix TEST_JOBS=auto max jobs detectionKlement Sekera1-1/+1
2018-09-06Fix test summary and retriesjuraj.linkes1-22/+35
2018-08-30Fix hanging test runner when child process diesjuraj.linkes1-50/+59
2018-08-25Fix logging to file and summary for crashed testsjuraj.linkes1-84/+59
2018-08-23CSIT-1139: Implement parallel test executionjuraj.linkes1-158/+631
2018-06-27make test: easy profiling via make test PROFILE=1Klement Sekera1-1/+7
2018-06-25make test: fix RETRIES when setUpClass throwsKlement Sekera1-1/+4
2018-03-31make test: print a warning in case a core_pattern contains a filter programAndrew Yourtchenko1-0/+2
2018-03-24make test: enhance core-file informationKlement Sekera1-15/+20
2018-03-23make test: code cleanupKlement Sekera1-5/+8
2018-03-14make test: early core detection, code cleanupKlement Sekera1-2/+24
2018-03-14make test: handle multiple failures in one caseKlement Sekera1-1/+4
2018-02-17make test: detect child crashKlement Sekera1-7/+17
2017-10-10make test: add RETRIES optionKlement Sekera1-8/+53
2017-10-03make test: Copy api_post_mortem.$$ file tmp test dir for archiving.Dave Wallace1-2/+8
>(filename, "r"); if (ifp == NULL) return (-1); while (1) { readchar: c = getc (ifp); again: switch (state) { case START: if (feof (ifp)) { fclose (ifp); return (0); } if (c == ' ' || c == '\t') goto readchar; if (c == '\n') { linenum++; goto readchar; } if (isalpha (c) || (c == '_')) { state = READNAME; goto again; } if (c == '/') { c = getc (ifp); if (c == '/') { state = CPP_COMMENT; goto readchar; } else if (c == '*') { state = C_COMMENT; goto readchar; } else { fprintf (stderr, "unknown token '/' line %d\n", linenum); exit(1); } } fprintf (stderr, "unknown token '%c' line %d\n", c, linenum); exit (1); break; case CPP_COMMENT: while (1) { c = getc (ifp); if (feof (ifp)) return (0); if (c == '\n') { linenum++; state = START; goto readchar; } } break; case C_COMMENT: while (1) { c = getc (ifp); if (feof (ifp)) { fprintf (stderr, "unterminated comment, line %d\n", linenum); exit (1); } if (c == '*') { staragain: c = getc (ifp); if (c == '/') { state = START; goto readchar; } if (c == '*') goto staragain; } } break; case READNAME: i = 0; namebuf[i++] = c; while (1) { c = getc (ifp); if (feof (ifp)) { fprintf (stderr, "EOF while reading a name, line %d\n", linenum); exit (1); } if ((!isalnum (c)) && (c != '_')) { namebuf [i] = 0; state = READVALUE; goto again; } namebuf [i++] = c; } break; case READVALUE: i = 0; while ((c == ' ') || (c == '\t') || (c == '=')) { c = getc (ifp); if (feof (ifp)) { fprintf (stderr, "EOF while reading a value, line %d\n", linenum); exit (1); } } goto firsttime; while (1) { c = getc (ifp); firsttime: if (c == '\\') { c = getc (ifp); if (feof (ifp)) { fprintf (stderr, "EOF after '\\', line %d\n", linenum); exit (1); } valbuf[i++] = c; continue; } if (c == '\n') { linenum++; while (valbuf [i-1] == ' ' || valbuf[i-1] == '\t') i--; valbuf[i] = 0; addprop (namebuf, valbuf); state = START; goto readchar; } valbuf[i++] = c; } } } }