Skip to content

Conversation

@Nawreua
Copy link

@Nawreua Nawreua commented Mar 19, 2025

When trying to convert openscop inputs to pluto progs, missing breaks caused pluto to incorrectly assign dependencies as undefined and a missing verification caused a null pointer exception when trying to convert an empty scop.

Copy link
Owner

@bondhugula bondhugula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add the test case? See the recent commit on the main branch for reference: d758ec1

Copy link
Owner

@bondhugula bondhugula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please clang-format. See contribution instructions.

Copy link
Owner

@bondhugula bondhugula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this. It'll be good to have the test case added.

@Nawreua Nawreua force-pushed the osl-conversion-fix branch from 8349507 to 8770d05 Compare March 26, 2025 16:00
@bondhugula
Copy link
Owner

The two added tests fail in the automation - can be reproduced with make check-pluto.

@bondhugula
Copy link
Owner

./test/gemver.scop                                 [Passed]
111
error: no check strings found with prefix 'CHECK:'
112
./test/simple-case-verification.scop               [Failed]  ./test/simple-case-verification.scop!
113
error: no check strings found with prefix 'CHECK:'
114
./test/simple-case-computation.scop                [Failed]  ./test/simple-case-computation.scop!

You'll need to add some a CHECK line at least.

Comment on lines +227 to +229
@top_srcdir@/test/gemver.scop \
@top_srcdir@/test/simple-case-verification.scop \
@top_srcdir@/test/simple-case-computation.scop \
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These scop files need to have at least one CHECK line comment of the expected output.

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

Successfully merging this pull request may close these issues.

2 participants