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

How do I run a test build of Nunaliit? #495

Closed
roikle opened this issue May 18, 2016 · 6 comments
Closed

How do I run a test build of Nunaliit? #495

roikle opened this issue May 18, 2016 · 6 comments
Assignees
Labels
Question Issue related to implementation whose answer would benefit others. Added to FAQ.

Comments

@roikle
Copy link

roikle commented May 18, 2016

Is there an option to create a build of Nunaliit which tests if the prereqs are being met for different file types (Eg. various media formats)?

@jpfiset
Copy link
Collaborator

jpfiset commented May 19, 2016

For multimedia, copy the file nunaliit2/nunaliit2-multimedia/src/test/resources/multimedia.properties.example to nunaliit2/nunaliit2-multimedia/src/test/resources/multimedia.properties

Then, the testing phase of maven will use the system tools to perform testing.

There is something similar for CouchDb, but this is probably not what you are looking for.

@jpfiset jpfiset added the Question Issue related to implementation whose answer would benefit others. Added to FAQ. label May 19, 2016
@roikle
Copy link
Author

roikle commented May 19, 2016

Thank you JP. Will try this tomorrow

@roikle roikle closed this as completed May 19, 2016
@roikle
Copy link
Author

roikle commented Jun 16, 2016

I attempted this (on Ubuntu 16.04) and my build is breaking in maven.

Error: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project nunaliit2-multimedia


Test set: ca.carleton.gcrc.olkit.multimedia.file.SystemFileTest

Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec <<< FAILURE! - in >ca.carleton.gcrc.olkit.multimedia.file.SystemFileTest
testOgg(ca.carleton.gcrc.olkit.multimedia.file.SystemFileTest) Time elapsed: 0.004 sec <<< >FAILURE!
junit.framework.AssertionFailedError: Unexpected type. Expected: application/ogg Returned: >audio/ogg
at junit.framework.Assert.fail(Assert.java:47)
at ca.carleton.gcrc.olkit.multimedia.file.SystemFileTest.performFile(SystemFileTest.java:53)
at ca.carleton.gcrc.olkit.multimedia.file.SystemFileTest.testOgg(SystemFileTest.java:72)

I'm assuming I'm missing a pre-req provided by the libavformat-extra-54 (not available in 16.04 of Ubunutu).

I'll look into other libraries to solve this build requirement issue, but if anyone has any suggestions to solve this problem, please let me know.

@roikle roikle reopened this Jun 16, 2016
@ahayes
Copy link
Member

ahayes commented Jun 16, 2016

Looks like maybe just a mime type change for OGG files. I imagine they are supported in the libraries you already have installed. JP may just need to code the test to recognize it and proceed.

@ahayes ahayes changed the title Question: How to run a test build of Nunaliit? How to run a test build of Nunaliit? Jun 16, 2016
@ahayes ahayes changed the title How to run a test build of Nunaliit? How do I run a test build of Nunaliit? Jun 16, 2016
@ahayes ahayes added this to the 2.2.8 milestone Jun 16, 2016
@ahayes ahayes added the Enhancement Desired improvement to design or implementation that adds value. label Jun 16, 2016
@roikle
Copy link
Author

roikle commented Jun 16, 2016

Note: I tested the sample ogg file (steps_sound.ogg) in the latest build of the atlas, and it works without issues.

@ahayes
Copy link
Member

ahayes commented Jun 27, 2016

I have created Issue #532 for this specific problem and will flag the question of how to run test builds as answered.

@ahayes ahayes closed this as completed Jun 27, 2016
@ahayes ahayes removed this from the 2.2.8 milestone Jun 27, 2016
@ahayes ahayes removed the Enhancement Desired improvement to design or implementation that adds value. label Jun 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Issue related to implementation whose answer would benefit others. Added to FAQ.
Projects
None yet
Development

No branches or pull requests

3 participants