You can exchange either a UK photocard or UK paper driving licence without taking a test:

For information, visit the Portuguese Institute for Mobility and Transport website.