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

add tests on BitwiseOp::Shl #13

Merged
merged 7 commits into from
Jul 13, 2023
Merged

add tests on BitwiseOp::Shl #13

merged 7 commits into from
Jul 13, 2023

Conversation

6293
Copy link
Contributor

@6293 6293 commented Jun 28, 2023

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jun 28, 2023

Codecov Report

Merging #13 (51fcc8a) into master (9a6e145) will increase coverage by 0.6%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           master     #13     +/-   ##
========================================
+ Coverage    15.6%   16.2%   +0.6%     
========================================
  Files          10      10             
  Lines        2271    2271             
========================================
+ Hits          354     368     +14     
+ Misses       1917    1903     -14     

see 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

tests/asm.rs Outdated
eq.n r8192[0],r8192[2];
ret;
}
// FIXME shift value is limited to 1024
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@6293 6293 force-pushed the test-shl branch 3 times, most recently from aff0e33 to bf3b1d0 Compare July 5, 2023 04:36
@@ -505,6 +505,7 @@ impl<'i> Statement<'i> {
}

fn goto(&'i self, no: u8, issues: &mut Issues<'i, issues::Compile>) -> Option<String> {
println!("aaaaaaaaaaaa {:?}", self.operands.get(0));
Copy link
Member

Choose a reason for hiding this comment

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

I think we need to remove this

@@ -529,7 +530,7 @@ impl<'i> Statement<'i> {
SemanticError::OperandMissed {
operator: self.operator.0,
pos: no + 1,
expected: "goto statement",
expected: "goto statemelllnt",
Copy link
Member

Choose a reason for hiding this comment

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

Looks like a typo / accidental change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thank you

@dr-orlovsky
Copy link
Member

Why do the tests are failing?

@6293
Copy link
Contributor Author

6293 commented Jul 6, 2023

dependent on AluVM/rust-aluvm#91

@dr-orlovsky
Copy link
Member

With AluVM/rust-aluvm#91 merged we can rebase now and then I will merge this

@6293
Copy link
Contributor Author

6293 commented Jul 13, 2023

rebased

Copy link
Member

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

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

ACK 51fcc8a

@dr-orlovsky dr-orlovsky merged commit f7e71b5 into AluVM:master Jul 13, 2023
14 checks passed
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.

3 participants