General Motors is getting ready to roll its first diesel engine out of a recently opened factory in eastern Thailand.