No, or the Vain Glory of Command (1990)
No, or the Vain Glory of Command is a 1990 Portuguese film directed by Manoel de Oliveira. The film, starring Luís Miguel Cintra and Miguel Guilherme, depicts a series of defeats from the entire military history of Portugal - the assassination of Viriathus, the Battle of Toro, the failed attempt of Iberian Union under Afonso of Portugal and Isabella of Spain and the Battle of Alcácer Quibir - and the Lusiads episode of the Island of love, which are told through flashbacks as a professorish Portuguese soldier recounts them while marching through a Portuguese African overseas territory in 1973, during the Portuguese Colonial War (1961-1974). He easily draws his comrades into philosophical musings, while the little contingent suffers surprise attacks by groups of independentist guerrillas.
More at Wikipedia.