This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] SATest: Introduce a single entrypoint for regression scripts
ClosedPublic

Authored by vsavchenko on Jun 10 2020, 6:18 AM.

Diff Detail

Event Timeline

vsavchenko created this revision.Jun 10 2020, 6:18 AM
NoQ accepted this revision.Jun 10 2020, 10:23 AM
NoQ added inline comments.
clang/utils/analyzer/CmpRuns.py
526–529

Should we also chown -x these scripts?

This revision is now accepted and ready to land.Jun 10 2020, 10:23 AM
vsavchenko marked an inline comment as done.Jun 10 2020, 10:35 AM
vsavchenko added inline comments.
clang/utils/analyzer/CmpRuns.py
526–529

That is a great idea!

I failed to follow much of this project so my question may be dumb -- but have you considered other run comparing tools such as csa-testbench (https://github.com/Xazax-hun/csa-testbench) and CodeChecker?

I failed to follow much of this project so my question may be dumb -- but have you considered other run comparing tools such as csa-testbench (https://github.com/Xazax-hun/csa-testbench) and CodeChecker?

Hi, no you didn't miss anything. I am getting ready ("Eye of the Tiger" starts playing) to address this topic in the mailing list, so I kept you all under informed. These commits is my attempt in making existing scripts that already live in the repo more usable and prettier.

In short, this whole so-to-speak project is about creating a testing system that will for sure produce exactly the same results on any machine. The trick is in using docker to run the analyzer and have all the dependencies pre-installed there.
On csa-testbench and CodeChecker, unfortunately not all of the CSA developers use CodeChecker, and shouldn't be forced to do that for testing.

I will send an email tomorrow and I hope it would make sense :)

Change script modes as the shouldn't be used as executables now

This revision was automatically updated to reflect the committed changes.