Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/llvm/llvm-lnt


https://github.com/llvm/llvm-lnt

[LNT][docs] Fix some typos.

llvm-svn: 372922

01fa4141d33e5114dc27116e8723c49d5399f9cf authored over 5 years ago by Volodymyr Sapsai <[email protected]>
[LNT] Python 3 support: adapt to zip returning an iterator

Summary:
zip() returns a list in Python 2 but an iterator in Python 3.
Fortunately, the only use...

f2c8c5011f9d254bdaa37498a2701aee9e86a046 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: adapt to renaming of raw_input to input

Summary:
Replace calls to raw_input by calls to input() which is not evaluated as
an expression ...

87fade3a80a95c8be3a0596a61e8930a1b5aaa31 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Simplify population of alldata in lF_oneway

Summary: Use a simpler iteration to populate alldata list in lF_oneway.

Reviewers: cmatthews, h...

6357568e1be9b25409cbff02a9bb4bb7582ac1a3 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: adapt to map returning an iterator

Adapt calls to map() to the fact it returns an iterator in Python 3 when
necessary. This was pro...

1fc256d1c1a96e8e7ab97b628ab3a78db8fd4954 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: use int() instead of long()

Use int() rather than long() to interpret a string as a long integer
since Python 3's integer ar...

fb66119fa2ad8acf95ffd69e3bf18b8b6f06806e authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: adapt to filter returning an iterator

Adapt calls to filter() to the fact it returns an iterator in Python 3. This
was produced by run...

873b1b5f1909c0b3b532e6febca75eee9352a79f authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] rename object variables

Rename variables named object to obj to avoid confusion with the object
type.

Reviewers: cmatth...

1e92ad8c80cf7cb8c83c4a57cd2bd915cf95a563 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: adapt to dict method returning views

Adapt calls to dictionary's keys(), items() and values() to them
returning a view in Python 3 wh...

0cf7cfc17c306a1e25680fcc20e8674c1b8094d5 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: print using print function

Use print function from future's print_function instead of a print
statement since the latter do...

e4550569af63639110b8cc86b3c1dc47bdb0617a authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: Get next element with next builtin

Use next() builtin rather than the .next() method to retrieve the next
element of an iterator si...

a7aaae6dcaeda2b472dd2b930bff754566a4626b authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: Use absolute import by default

Forces module import to be absolute by default on Python 2 since this is
the default for Python ...

4ff51108ece3996fdb83b88e1a54abe6c6abcf3d authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: import reduce from functools

Import reduce from functools since it was removed as a builtin in Python
3. reduce was added to ...

0bac26764be4e533e1ab8b04ad70353015989583 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: use Python 3 idioms

Replace Python 2 idioms for their Python 3 counterparts. These includes:
- replace calls to X.so...

82bfa4f3fd40c1391c6fb086dfebb525ad781997 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: Fix exec syntax

Replace python2-specific exec statements with calls to exec builtins.
This was produced by runni...

35bb5014463b75aa171b0a5e18cb9391d7414f25 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: Fix except with named exception

Use Python 3 syntax for except statement with named exception. This was
produced by running futu...

47ff70b6a2e2e894fcc088d6baa2cd1670beaece authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: get rid of apply builtin function

Replace calls to deprecated python2-specific apply builtin by direct
function calls with explici...

9ae9d66d556218df364591eea1d325816e9d0096 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: Fix implicit package-relative imports

Summary:
This patch replaces implicit package-relative imports with explicitly
relative imports ...

848a12d9ee97542252f7ed4f04f994f84185020a authored over 5 years ago by Hubert Tong <[email protected]>
[LNT] Add docker containerization files

LNT already strive to be easy to use both locally and in server mode.
This patch adds containeri...

e1a4c998b14e38ceeda2560b52a9bea2ed0889b2 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Add support for v2 fmt in test data library

Add support for generating LNT JSON report file format in version 2 in
the test data creation li...

c8217c0cba42a2694bc16bb433aed86a89af3206 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Python 3 support: Remove implicit tuple parameter unpacking on lambdas

Summary:
Lambda changes split out and updated from D67535.

Applies the `2to3 -f tuple_params` f...

a85ed94b5dcd17d83acff8fc755338328449a6df authored over 5 years ago by Hubert Tong <[email protected]>
[LNT] Python 3 support: Replace `raise E, V` with `raise E(V)`

Summary:
Mechanically changed `raise E, V` to `raise E(V)`. Split out from
D67535.

This patch c...

7a23a403bd8cff7736d35a2d341659154b86aeb4 authored over 5 years ago by Hubert Tong <[email protected]>
[LNT] Python 3 support: Update `<>` and `None` comparisons

Summary:
Replaces comparisons using `!=`, `<>`, and `==` against `None` with the
corresponding v...

71a48deec9bb79cfa13c17b6d51e61867417af2d authored over 5 years ago by Hubert Tong <[email protected]>
Subject: [LNT] Python 3 support: Update type comparisons and type names

Summary:
This patch is split out from D67535, updating type names (or, in one
case, `type(1.4)`-...

cac86ca80c26e7ea2f58bec2378a81b5165c084d authored over 5 years ago by Hubert Tong <[email protected]>
[LNT] Python 3 support: Set up (client) setup requirements

Summary:
Changes required to allow setup of a LNT client with Python 3.

- Use `PyModule_Creat...

986266af196c00ba893ef07fc3dc1d71e9e6d410 authored over 5 years ago by Hubert Tong <[email protected]>
[LNT] Python 3 support: Minor automatic 2to3 fixups

Summary:
Automatic fixups done using `2to3`:

- `2to3 -f numliterals`
- `2to3 -f dict`
- `...

9eaffb0b48cc1fd663b7b5fd8497d1f067e7c1c3 authored over 5 years ago by Hubert Tong <[email protected]>
[LNT] Python 3 support: print statements

Summary:
This patch applies `2to3 -f print` fixes, corrects the indentation
mangled by `2to3` fo...

533eafc8c2746304e7379ad250bb67ee9842ac37 authored over 5 years ago by Hubert Tong <[email protected]>
[LNT] Add unittests for test data creation library

Add unit tests for existing code in the test data creation library ahead
of a patch adding suppo...

355b9681e413abb6c5f81e2321214aeec3abbce4 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Add missing method docstrings in lnt.testing

Differential Revision: https://reviews.llvm.org/D65750

llvm-svn: 367924

a6fce35acdcd3335361c715d3b05f1b321a83645 authored over 5 years ago by Thomas Preud'homme <[email protected]>
[LNT] Wrap comments and docstrings at 72 chars

As per PEP-008, wrap comments and docstrings in the test data creation
library at 72 characters....

62570f649a3be2f8763ab8c598cacf83e95a9055 authored over 5 years ago by Thomas Preud'homme <[email protected]>
Fix runtest test-suite pgo + multisampling.

There were are at least 3 issues when combining --pgo with
--exec-multisample:

* Make clean wa...

8d50b9c2b1d4101d51bcfcb7d96aff065e45585b authored over 5 years ago by Kristof Beyls <[email protected]>
in test_suite run_test function, opt and self.opt is same object

Patch by Lily He

Differential Revision: https://reviews.llvm.org/D61662

llvm-svn: 362787

580ccbcb1a34ff7c1b04e1a03b89d3f2a3fd8f23 authored over 5 years ago by Danila Malyutin <[email protected]>
Update LICENSE file and file headers to the new license.

See r351631 to LLVM which installed the new license and developer policy for
subsequent contribu...

6912bb97c7959a402922461893ef2be044bb40b0 authored almost 6 years ago by Chandler Carruth <[email protected]>
[LNT] add missing test inputs

Forgot to include them in the previous commit

llvm-svn: 350706

d4edc256e1245eef8886fa221cf7629bcc0a1ec9 authored almost 6 years ago by Danila Malyutin <[email protected]>
[LNT] fix ValueError in a corner case of geomean comparison

Fixes ValueError('need more than 0 values to unpack',) that
could appear in some corner cases w...

3eaafd884f6eec128af4a1c0976830aa91bf0758 authored almost 6 years ago by Danila Malyutin <[email protected]>
[LNT] Fix typo in a comment

llvm-svn: 350699

24025598ed7f13838d894be309edc1ccddc069f1 authored almost 6 years ago by Danila Malyutin <[email protected]>
A few more linter fixups

llvm-svn: 349791

af6303e44fc69305e6fb98623e6b42c9fa171efe authored about 6 years ago by Chris Matthews <[email protected]>
Some more parts of the tree that are linter clean now

llvm-svn: 349790

3fefe7afd555b8961f7dcbed3bb2fda5ef9b34ec authored about 6 years ago by Chris Matthews <[email protected]>
Cleanups suggested by linter

Most of this code was written long ago before good linters were around.
Remove unused code, and ...

48bc5fcbdabb7b24ef56e4271a5f5d0e5326d4f4 authored about 6 years ago by Chris Matthews <[email protected]>
Suppress most common linter warnings: we probably will not fix these, and they are everywhere in the code

llvm-svn: 349789

a0c9b4d2b17051871d889928da335de9a4ce3003 authored about 6 years ago by Chris Matthews <[email protected]>
Imports fixups

llvm-svn: 349787

5d30970c4cc3900b77c6b416750782e6e2edaba6 authored about 6 years ago by Chris Matthews <[email protected]>
Also print stats, so we can see how we are progressing

llvm-svn: 349786

d57d4f843812cbe783516d96d4752d455e951f66 authored about 6 years ago by Chris Matthews <[email protected]>
Fix whitespace here too

llvm-svn: 349785

a5fa5009348bb80004e0baec98e364207543ea3e authored about 6 years ago by Chris Matthews <[email protected]>
Unused import

llvm-svn: 349593

4983ae5f977c1a45d25e1db7fd1dfb3550f03a6a authored about 6 years ago by Chris Matthews <[email protected]>
Whitespace fixups

llvm-svn: 349594

d18e468ef06d2c836789a981216fbb43be2bffbc authored about 6 years ago by Chris Matthews <[email protected]>
whitespace fixup, unused import

llvm-svn: 349591

5eb2f241b5d0df5e7da0dabc06d20d019a9dd7df authored about 6 years ago by Chris Matthews <[email protected]>
Unused import

llvm-svn: 349592

d3eb8d64be82bb2a1f1ca2a53c288145661177e3 authored about 6 years ago by Chris Matthews <[email protected]>
whitespace fixup

llvm-svn: 349590

b1576eebd1885a2f9f7a3c6a127334697c72f2bc authored about 6 years ago by Chris Matthews <[email protected]>
fatal was not imported, and fix formatting

llvm-svn: 349589

335305acd482a120c48328e8c47e5582feb30a9a authored about 6 years ago by Chris Matthews <[email protected]>
Remove another * import, and put back the import that is needed.

llvm-svn: 349588

1291e8de5245f52ad76bb9b7155acec21976ca43 authored about 6 years ago by Chris Matthews <[email protected]>
Help mypy understand this

llvm-svn: 349587

83ed8f42867317cd6ee4583f6d33df0de12eb567 authored about 6 years ago by Chris Matthews <[email protected]>
Get rid of nasty * imports

llvm-svn: 349586

d76e365ac6e7e198766c37aa570d96cb8e69548d authored about 6 years ago by Chris Matthews <[email protected]>
I think this is unused

llvm-svn: 349584

12cfd4c23b6c21c62723c645644c38f7feac9f62 authored about 6 years ago by Chris Matthews <[email protected]>
Fixup invalid imports

llvm-svn: 349583

3a06dfda3d2a5adf9f24b66ccd8d82e78ff24811 authored about 6 years ago by Chris Matthews <[email protected]>
Some type annotations to make Mypy happier

llvm-svn: 349582

1a1db71a701a2504924c9f7fb81db3697a4071c5 authored about 6 years ago by Chris Matthews <[email protected]>
Getting server UI tests working in flake8

These were all valid style or correctness issues.

llvm-svn: 349579

865488c7fa9073d40be7e3abab9d7a620f1c8d40 authored about 6 years ago by Chris Matthews <[email protected]>
Scaleability improvements: don't expire objects and use better query

When we commit we expire all objects in the session, meaning the will be
lazy loaded again next ...

19b15afb3685182fbfa97b440ecef76127e18dcf authored about 6 years ago by Chris Matthews <[email protected]>
Add a whitelist of files to keep linter clean

Linters help a lot of Python; however, we have so many issues in LNT we
can't use flake8. Start...

365d620350193326f29846069085dc20c9401a59 authored about 6 years ago by Chris Matthews <[email protected]>
Do bulk add to avoid DB round trips

Each add has to stage a sample, which leads to a SQL query and DB round
trip. For runs with a lo...

302a64f902fb81c58891ebed9436531028e2ad08 authored about 6 years ago by Chris Matthews <[email protected]>
Prevent detached object errors

Looks like this cache is holding stuff between sessions. Since those
object could expire, lets p...

cfbb62640c6312c502ae5f9afaf6c8919cec9e44 authored about 6 years ago by Chris Matthews <[email protected]>
Short circuit regression fix checking

If any of these are false, we are returning false, so no point in
checking the rest of them. Th...

abc91bcd4c569cf26d76d90281cd23b186cd081d authored about 6 years ago by Chris Matthews <[email protected]>
Make sure hooks are not run before they are loaded

This is certainly a programming error of some sort.

llvm-svn: 349220

e30ff998ebcef35cbd0bb52807dbb1cbe6e4bda4 authored about 6 years ago by Chris Matthews <[email protected]>
Make a cache for machine -> order lookup

This set of queries were taking a long time. Make the query faster,
by using .first(), and then ...

506d2c515c19bac48ffa8879f6dfd735ef73a357 authored about 6 years ago by Chris Matthews <[email protected]>
Register hooks in command line importing

Hooks were not being loaded when importing from the command line. Since
they contain data proces...

e443bab1c543e604134adb25eb8b191c6f69cd21 authored about 6 years ago by Chris Matthews <[email protected]>
whitespace fixups to blast

llvm-svn: 349116

7cdbb60af280e19991b435ac59ea0a1c49397eb8 authored about 6 years ago by Chris Matthews <[email protected]>
Tox based testing

Tox is really handy for building a venv and running all the tests and
qualification tasks in a r...

a2e0d2384be83464e099dc90c1f0ee49d6f981ed authored about 6 years ago by Chris Matthews <[email protected]>
pep8 whitespace fixups

llvm-svn: 349113

1fa6a6c33acd3f620304dc708e9ef00ce89bcdfa authored about 6 years ago by Chris Matthews <[email protected]>
Unused import

llvm-svn: 349112

ec7460cedf05b5b33740c3ee382e8ec1bbd03143 authored about 6 years ago by Chris Matthews <[email protected]>
Seems like a lot of E266 in the lit test cases, disable that

llvm-svn: 349111

c50adda8681c643ffa33f98ebb591a3714eae74b authored about 6 years ago by Chris Matthews <[email protected]>
Use ToT lit

This is good testing for lit, and will make sure we don't get stuck
in an old version.

llvm-svn...

f6781dbd99cb3f75ad987fd5d17228e620087dc7 authored about 6 years ago by Chris Matthews <[email protected]>
Add some project policy for formatting so style tools are more useful

llvm-svn: 349109

f510d15cdf8fc00989a9d903e01bb024793d8f57 authored about 6 years ago by Chris Matthews <[email protected]>
Unused imports

llvm-svn: 349108

e1eb5e636ee00184737883a36ff277f79a537748 authored about 6 years ago by Chris Matthews <[email protected]>
pep8

llvm-svn: 349107

dea071b4a42560c70e9d65f16fbf70d9aefce683 authored about 6 years ago by Chris Matthews <[email protected]>
Newest version of psycopg2 seems to work well, and has fixes for tox

llvm-svn: 349106

4f9faeadac2624c947174b79ec02f3a2e719cb2e authored about 6 years ago by Chris Matthews <[email protected]>
This was an invalid type annotation

llvm-svn: 349105

9e145e2056cba20c8e714833fa9b7151ffd29cbc authored about 6 years ago by Chris Matthews <[email protected]>
Fix test

I had not seen this test fail, because of other infrastructure issues.
Simple refactoring to mov...

b29078e89b59222be91899d9119682844382ed2b authored about 6 years ago by Chris Matthews <[email protected]>
Fix Tuple has not .state

I missed these in my earlier refactoring.

llvm-svn: 349102

f50919184bcd49f7104702de96f0ce7664cd9187 authored about 6 years ago by Chris Matthews <[email protected]>
Unused.

llvm-svn: 349103

81eb335672ffc3ecd24b7aca7da8338424db41df authored about 6 years ago by Chris Matthews <[email protected]>
Unused.

llvm-svn: 349101

8c60a4b4520fe9f31bad2066ea25f0e8b1799e0d authored about 6 years ago by Chris Matthews <[email protected]>
Type annotations for regression code

This code is pretty complex. Having types is very helpful.

llvm-svn: 349100

f4853030559fa0ecfabd072067165368f81908c3 authored about 6 years ago by Chris Matthews <[email protected]>
This type annotation had grown stale

llvm-svn: 349099

fe926cb8379f0cebac75297c7d996cb0c9d914bc authored about 6 years ago by Chris Matthews <[email protected]>
Make timers easier to find in the logs

I'd like to be able to grep out all the timers for analysis.

llvm-svn: 349079

521130621dcdbab1c2b57b52daf96230d435fe40 authored about 6 years ago by Chris Matthews <[email protected]>
Import cleanup

llvm-svn: 348883

5eca0dc2312a23b93c16a0b2afde94c104e0dc2e authored about 6 years ago by Chris Matthews <[email protected]>
the sys import was used

Flake8 lied.

llvm-svn: 348882

205981f5a9a47525dde67ef12147982f1ffa0f6a authored about 6 years ago by Chris Matthews <[email protected]>
Time new regression creation

I'd like to know how long this takes in production.

llvm-svn: 348881

36e00a275fcb350da6ae9ac2bf81ad37c3bfa5e0 authored about 6 years ago by Chris Matthews <[email protected]>
Preload orders and tests

We will use them all for sure below, so avoid lazy loading them.

llvm-svn: 348880

d03885d5358903685b5b83a3087502ea49cfab9b authored about 6 years ago by Chris Matthews <[email protected]>
Logging should be info level if we are verbose

llvm-svn: 348878

16c01914082643dec95090a5cd84b24e730fce9f authored about 6 years ago by Chris Matthews <[email protected]>
Prefer absolute imports, and remove unused import

llvm-svn: 348879

8aa5c423b969f50fca2517e5ec0b24d9852d50d2 authored about 6 years ago by Chris Matthews <[email protected]>
Don't call repr on all timed functions arguments

This was causing a huge amount of lazy loads from the database.

llvm-svn: 348877

918814dfe8ff9b6eb2890eaf4989e913bd2320ac authored about 6 years ago by Chris Matthews <[email protected]>
Keep a lookup table to avoid querying for FieldChange existence

On large data imports, this existence test is very expensive. In my
testing, querying up front, ...

f760086855f98be0283cd40b658af46d3d8ca858 authored about 6 years ago by Chris Matthews <[email protected]>
Come up with MIN_PERCENTAGE_CHANGE value.

Differential Revision: https://reviews.llvm.org/D53136

llvm-svn: 345006

4c3a33f78394cad1c1a24d241ce7a254af15514f authored about 6 years ago by Martin Liska <[email protected]>
Sleep endpoint for diagnosing timeout issues

We have been having a lot of timeout issues with LNT. This endpoint
simulates a long page load s...

04b5737c556f3300b0e9e33fcda24e5b6f3a7321 authored about 6 years ago by Chris Matthews <[email protected]>
tests/SharedInputs/mysql_wrapper.sh: Hide output from dropdb

It is expected/common that the database doesn't exist (yet), hide the
messages to avoid confusio...

37d9105bbc6b3e14e0aa4269d6165cc421648d9b authored over 6 years ago by Matthias Braun <[email protected]>
Fix fallout caused by YAML files ordering.

Differential Revision: https://reviews.llvm.org/D52723

llvm-svn: 343504

73a5b3ef61af472b273f369dd6e6c8dffd86a722 authored over 6 years ago by Martin Liska <[email protected]>
Install missing files.

llvm-svn: 343467

1e995bc2061212c675e237d335abe511daea91a4 authored over 6 years ago by Martin Liska <[email protected]>
Sort fields according to order defined in YAML files.

Differential Revision: https://reviews.llvm.org/D52593

llvm-svn: 343466

435eb8bfac6384f30b99141b12975ac5d7532ddf authored over 6 years ago by Martin Liska <[email protected]>
Use unit_abbrev of Fields in reports.

Differential Revision: https://reviews.llvm.org/D51916

llvm-svn: 343465

095c2ed9375227d6456647080b3693b005e5b7b1 authored over 6 years ago by Martin Liska <[email protected]>
Improve alignment of HTML report.

Differential Revision: https://reviews.llvm.org/D51915

llvm-svn: 343464

8145ac6277665481a464098ad7f8d4676caabe96 authored over 6 years ago by Martin Liska <[email protected]>
Print machine name in LNT graph tooltip.

Differential Revision: https://reviews.llvm.org/D52346

llvm-svn: 343463

8e3589a0b180543bdfe9c85da2853f85092c4e12 authored over 6 years ago by Martin Liska <[email protected]>
Introduce Latest Runs Report.

Differential Revision: https://reviews.llvm.org/D51405

llvm-svn: 343462

a4159b9606fe47459c11b6bbeededdd5c95129df authored over 6 years ago by Martin Liska <[email protected]>