Skip to content

Test suite for Factor's C++ code#1205

Open
bjourne wants to merge 6 commits intofactor:masterfrom
bjourne:vm-testing
Open

Test suite for Factor's C++ code#1205
bjourne wants to merge 6 commits intofactor:masterfrom
bjourne:vm-testing

Conversation

@bjourne
Copy link
Copy Markdown
Member

@bjourne bjourne commented Nov 18, 2014

Here is a small test suite for the VM I've been working on. Testing that things like garbage collection works is often too hard to do in Factor code. I based it on googletest (https://code.google.com/p/googletest/) because it seemed simple enough (although there are 5e9+ other c++ test frameworks to choose from).

@mrjbq7
Copy link
Copy Markdown
Member

mrjbq7 commented Jul 15, 2015

So I like this idea but I noticed hard coded paths to gtest. Is there a way to make this more flexible or is there standard installation paths that are fine to use?

@bjourne
Copy link
Copy Markdown
Member Author

bjourne commented Aug 4, 2015

I'm not sure. You can override the paths using make GTEST=/path/here. My setup in the pr was just a convenient hack and to set it up correctly I think you need something more elaborate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants