Rust-GCC / cargo-gccrs

Gaining support for cargo via rustc-wrapper
Other
26 stars 6 forks source link

Add functional tests against regular cargo behavior #12

Open CohenArthur opened 3 years ago

CohenArthur commented 3 years ago

I think this should get split up in multiple PRs in order to better the review process. This issue shall become the tracking issue for the subtasks of the final PR.

After discussing it with @flip1995, it seems that running functional tests within the rust code would be best. This is what clippy does, for example here

This should be split into multiple sub-issues:

Once this test harness framework is done, add tests for the project

Since all of these PRs wouldn't make sense by themselves, I think it would be best to create them against a specific branch such as feature/functional-testing and then merge this branch into master once the test harness is complete.

CohenArthur commented 3 years ago

I started work on checking the correct file type for each binary produced, but noticed that gccrs and rustc have a different behavior when producing binaries #35