RALEIGH, N.C. — North Carolina legislators have reached a compromise on doing away with more standardized testing in public schools.

The measure passed in both the House and Senate Monday night, and will now head to Governor Roy Cooper's desk. 

RELATED: NC Lawmakers Want Students To Take Less Tests

The legislation would end more than 20 end-of-course exams covering mostly high school subjects next school year. State law currently doesn't require these "North Carolina Final Exams," which had been used to comply with previous federal mandates.

The bill directs school districts to review local testing requirements periodically and reduce them if they exceed the statewide average. And local boards can't require students to complete graduation projects unless they agree to reimburse disadvantaged students up to $75 of project expenses.

RELATED: NC University Won't Require SAT or ACT Scores Starting for Fall 2020 Admission