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

Keep test seed consistent between different operating systems. #24

Open
tim-pugh opened this issue Feb 25, 2019 · 2 comments
Open

Keep test seed consistent between different operating systems. #24

tim-pugh opened this issue Feb 25, 2019 · 2 comments
Labels

Comments

@tim-pugh
Copy link
Member

It's been discovered that different operating systems can create different seeds (we've encountered this with OSX and Ubuntu systems). Thus when we create tests we will need to have our seed for programs under test to be consistent.

This will be necessary for adapting our POC.c file (to be renamed when sending a patch upstream) into their tests test suite module.

@tim-pugh
Copy link
Member Author

tim-pugh commented Mar 1, 2019

We believe that provided we can pass a seed, it'll be consistent between OSX, Linux and Windows.

We'll have to test for this. Assuming we have the same seed and the output is the same against all 3 platform, this will be simple.

If not, we'll have to capture all 3 platforms outputs.

I would actually recommend we do a check for windows and osx and skip them for the time being. These can be accounted for later once we have it strapped into the test harness.

In other words, lets only worry about linux for now

@tim-pugh
Copy link
Member Author

tim-pugh commented Jul 5, 2019

I believe #45 will resolve this, but I'd like to test to be sure.

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

No branches or pull requests

1 participant