Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automated build tests #102

Open
stefangweichinger opened this issue Apr 3, 2019 · 6 comments
Open

automated build tests #102

stefangweichinger opened this issue Apr 3, 2019 · 6 comments

Comments

@stefangweichinger
Copy link
Contributor

Does anyone plan to get automated build tests set up via travis on github?
I use that for a small project and assume this would be very helpful. Maybe I can help here.

@djmitche
Copy link
Contributor

djmitche commented Apr 6, 2019

That would be really handy. In my day, we ran tests in Buildbot on Zmanda hardware across a variety of operating systems, but I assume that's gone now.

@chassell
Copy link

we really really need an installcheck run that works in-source-tree

@djmitche
Copy link
Contributor

Just running make check would be a start (and that runs in the source tree, iirc?)

@chassell
Copy link

@djmitche Those are the closest we have to unit-tests, I suppose. They seem to be more (as I didn't know they were there!) to test the OS and its features and our use of them.

They run directly in the tree, true. I'd rather have installcheck run there if possible.

@djmitche
Copy link
Contributor

It's sort of the nature of "installcheck" that it runs on an "install"ed version :)

Maybe a path to victory here is to run the make check tests in CI, and then work to migrate some of the more unit-y bits of the install checks into "regular" checks.

Getting make check to run would be of substantial value just in checking that Amanda builds, to start with. And the checks would do some basic syntax verification of all imported Perl. It's not much, but it's a lot better than nothing!

When I was at Zmanda, we used Buildbot for this, testing across a number of platforms. Setting that up would be a fair bit of work (but perhaps worthwhile to get a set of platforms representative of the customer base, rather than just the platforms available in the free CI offerings). Anyway, just building and running make check on Linux would again be a lot better than nothing.

@chassell
Copy link

chassell commented Sep 17, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants