Hi Jason, It's really amazing that we have a testing framework in place, thanks for your effort! At the moment as far as I can tell we are only running tests registered within the new testing library.
I was wondering if we could temporarily enable the system to run legacy quick regressions as well, while waiting for porting those to the new library. I guess it is something that shouldn't require a lot of work (just calling .util/regress I guess) I am saying this since a patch recently merged broke some syscall emulation tests and I think it would be beneficial for us to run the entire test suite straightaway while porting tests manually. I could even handle it myself if I had permission to configure the system. Let me know your thoughts, Giacomo ________________________________ From: gem5-dev <gem5-dev-boun...@gem5.org> on behalf of Jason Lowe-Power <ja...@lowepower.com> Sent: 16 April 2019 16:30 To: gem5 Developer List; Rahul Thakur Subject: [gem5-dev] Continuous integration is live! Hi all, We now have initial support for continuous integration testing! We should all thank Google for donating the CPU time and infrastructure to run these tests. Specifically, Rahul Thakur has been incredibly helpful for the past two years in getting this off the ground. Thanks, Rahul and the rest of the team at Google who has been helping us set this up! Now, if you submit a patch to gerrit and receive a maintainer +1, "kokoro" will kick off a build / test of gem5. Once that is complete, you will receive a verified +1. If it fails, you will receive a verified -1. The logs can be viewed by anyone once the job is completed by following the link posted by kokoro (the https://source.cloud.google.com, not the sponge link). You can see an example on a patch I recently submitted here: https://gem5-review.googlesource.com/c/public/gem5/+/18068. Note that the tests take a couple of hours to run. However, I believe there is no limit to the number of different changes that can be tested at the same time. Soon, we are going to enable commit gating with the verified +1 tag. I.e., you will have to pass the continuous integration tests before you can commit your code. Note that this is using the "new" testing infrastructure. You can run this locally by running "./main.py" in the tests directory. More information about how to run tests and add tests can be found in the TESTING.md file. If there are any questions/issues do not hesitate to contact me or the list. The documentation for the new infrastructure can still be improved. Right now, we're running about 30 tests. You can find the tests that we are running in the tests/gem5 directory. We are looking for volunteers to help us port more of the old tests to the new infrastructure and to expand the coverage of our tests. I'm happy to help anyone get started on this and point out which tests still need to be migrated, where our biggest coverage holes are, etc. Cheers, Jason _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev