I'm not sure how old it is, or if it's even a movie (could be a TV show?). The cops are called out to investigate a van trespassing and they believe that the suspects are scrapping metal. As they approach the van, they're attacked and captured. They're driven to a house in the middle of nowhere (desert scene, I think?). One of them is tortured and then executed, and the other is able to hide in a large grave outside when the men turn on each other.
This just came to mind because I saw a video with a house I think may have been used in that scene, but can't think of the movie to double-check!