Skip to content

Commit

Permalink
Revert "Drop hard-coded /tmp/ dir, use system temporary dir instead"
Browse files Browse the repository at this point in the history
This reverts commit da11a8a.
  • Loading branch information
nyalldawson committed Jun 26, 2024
1 parent d14bfbf commit 4a1c343
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/src/3d/testqgs3drendering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@ void TestQgs3DRendering::do3DSceneExport( int zoomLevelsCount, int expectedObjec
exporter.setScale( 1.0 );

QVERIFY( exporter.parseVectorLayerEntity( scene->layerEntity( layerPoly ), layerPoly ) );
exporter.save( QString( "test3DSceneExporter-%1" ).arg( zoomLevelsCount ), QDir::tempPath() );
exporter.save( QString( "test3DSceneExporter-%1" ).arg( zoomLevelsCount ), "/tmp/" );

int sum = 0;
for ( auto o : exporter.mObjects )
Expand Down
2 changes: 1 addition & 1 deletion tests/src/core/testqgslabelingengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4346,7 +4346,7 @@ void TestQgsLabelingEngine::labelingResultsWithCallouts()
job.start();
job.waitForFinished();

job.renderedImage().save( QString( "%s/renderer.png" ).arg( QDir::tempPath() ) );
job.renderedImage().save( QStringLiteral( "/tmp/renderer.png" ) );

std::unique_ptr< QgsLabelingResults > results( job.takeLabelingResults() );
QVERIFY( results );
Expand Down

0 comments on commit 4a1c343

Please sign in to comment.