Updated

Arizona's Brandon McCarthy and Chicago's Jeff Samardzija wrapped up their spring training with solid outings in the Diamondbacks' 14-4 victory over the Cubs on Wednesday.

McCarthy, the starter in Monday's home opener against San Francisco, allowed three runs on six hits in six innings. Smardzija, the Cubs' opening-day starter Monday at Pittsburgh, went three innings, giving up a run on four hits.

The Diamondbacks amassed 20 hits, including six home runs. Mark Trumbo and Chris Owings were among the Arizona players who homered.

The Diamondbacks played for the first time since returning Sunday from Australia, where they opened the regular season with a pair of losses to the Los Angeles Dodgers.