Texas Transportation Code 545.420 makes it an offense to race on a highway. This includes racing, drag racing, and testing the endurance of the driver.
The code defines “drag race” as two or more vehicles side by side accelerating in a competitive attempt to outdistance each other, or vehicles going over a specific course to compare speed, power, or acceleration in a specific time or distance. “Race” is defined as the use of one or more vehicles in an attempt to outgain or outdistance another vehicle or prevent another vehicle from passing; arrive at a given destination ahead of another vehicle or vehicles; or test the physical stamina or endurance of an operator over a long-distance driving route.