Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

Welcome, Guest
Guest Settings

Thread: "Privileged instruction" errors during unit tests

This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Permlink Replies: 0 Threads: [ Previous | Next ]
Val T

Posts: 13
Registered: 6/18/15
"Privileged instruction" errors during unit tests  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 19, 2018 5:01 AM
I have just installed C++ Builder 10.2.3. In my unit test project, many tests fail with either "privileged instruction" (EPrivilege) or access violation. Each test function that fails, fails the same way even if it is the only test in the project. The main project (that is using the functionality being tested) seems to work fine. So I think test code is responsible for this. Test framework is DUnitX.


How can I fix these errors?
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02