Ok
To rule out problems from the tank, you’ll need to put the fuel output from the fuel filter, the hose that goes to the engine, into a bucket of diesel. If the engine keeps running, then you have a problem somewhere from the tank up to the bit you pulled the hose off