Often when a serious threat to life and limb occurs in the movies and occasionally in real life, the person in charge will say “This is not a drill”, to remind people there is a real threat.
Aha! I get it now!

That other definition of "drill" hadn't even occurred to me.